947 Commits

Author SHA1 Message Date
Baptiste Wicht
06f58d02c2 Add note 2014-02-08 22:21:30 +01:00
Baptiste Wicht
9fed750015 Avoid name collision 2014-02-08 22:19:26 +01:00
Baptiste Wicht
ac1685eebb Adapt the kernel to the new path 2014-02-08 22:18:33 +01:00
Baptiste Wicht
d94c1139d3 Move TSTL to the root of the project 2014-02-08 21:31:16 +01:00
Baptiste Wicht
fb40a90a4a Make STL header only 2014-02-08 21:24:44 +01:00
Baptiste Wicht
8cc3f67f37 Remove old file 2014-02-08 21:14:41 +01:00
Baptiste Wicht
ee5b60e07b Cleanup 2014-02-08 21:06:33 +01:00
Baptiste Wicht
e25d594496 Add support for operators new and delete 2014-02-08 21:05:08 +01:00
Baptiste Wicht
143c29c8a9 Improve makefile 2014-02-08 21:04:38 +01:00
Baptiste Wicht
9fbaa360d2 Fix support for .bss sections 2014-02-08 20:57:29 +01:00
Baptiste Wicht
fc68f462b8 Update program makefiles 2014-02-08 20:17:40 +01:00
Baptiste Wicht
9b847bc2a9 Implement print in source files 2014-02-08 20:14:30 +01:00
Baptiste Wicht
aad6cfb7ab Implement free 2014-02-08 19:26:49 +01:00
Baptiste Wicht
f8c51644ef Refactor 2014-02-08 17:54:58 +01:00
Baptiste Wicht
0d70c97e97 Clean 2014-02-08 17:53:10 +01:00
Baptiste Wicht
4dde1a517e Implement user space malloc 2014-02-08 17:52:57 +01:00
Baptiste Wicht
eafbf23b6e Prepare malloc support 2014-02-08 17:24:49 +01:00
Baptiste Wicht
edf57ba352 Fix the computation of the aligned size 2014-02-08 17:22:54 +01:00
Baptiste Wicht
9287995440 Always build the static library 2014-02-08 17:09:52 +01:00
Baptiste Wicht
6b505e6a72 Adapt the userlib to compile it as static library 2014-02-08 16:55:16 +01:00
Baptiste Wicht
f5bf6d7083 Save the segment for release later 2014-02-08 16:08:19 +01:00
Baptiste Wicht
d0b37eef9b Simplify the process structure 2014-02-08 16:00:26 +01:00
Baptiste Wicht
908264e2b2 Implement sbrk 2014-02-08 15:56:15 +01:00
Baptiste Wicht
28a41748ac Protect access to the run queues 2014-02-08 15:32:03 +01:00
Baptiste Wicht
298c4e273c Add debug message 2014-02-08 14:26:40 +01:00
Baptiste Wicht
ed94f923a2 Release resources in GC task 2014-02-08 13:44:48 +01:00
Baptiste Wicht
4b12f79976 Wakeup gc thread when a process gets killed 2014-02-08 12:21:43 +01:00
Baptiste Wicht
b0fb03e87b Prepare GC task 2014-02-08 12:10:45 +01:00
Baptiste Wicht
f83c7757be Add deallocation support for physical_allocator 2014-02-08 12:07:31 +01:00
Baptiste Wicht
da9f0470ee Finalize buddy system for physical allocator 2014-02-07 22:55:46 +01:00
Baptiste Wicht
c207fc8892 Use buddy allocator in physical allocator 2014-02-07 22:18:42 +01:00
Baptiste Wicht
f0006809b4 Make buddy more dynamic 2014-02-07 20:56:05 +01:00
Baptiste Wicht
8b52ef4713 Review memory init order 2014-02-07 20:53:32 +01:00
Baptiste Wicht
beeb70ecac Move buddy system out of the virtual allocator 2014-02-07 20:28:37 +01:00
Baptiste Wicht
d72bf1d987 Extract bitmaps from virtual_allocator 2014-02-07 19:41:15 +01:00
Baptiste Wicht
b7b5379c44 Activate VESA 2014-02-07 18:48:25 +01:00
Baptiste Wicht
ee1dfd69a5 Finish implementation of virtual allocator 2014-02-07 18:47:47 +01:00
Baptiste Wicht
f362489750 Use iterative algorithms instead of recursion 2014-02-07 18:33:47 +01:00
Baptiste Wicht
17da7f27df Optimize taken_up and cleanup 2014-02-06 22:58:35 +01:00
Baptiste Wicht
409ff4d1d4 Cleanup 2014-02-06 22:41:23 +01:00
Baptiste Wicht
acef733735 Reduce the number of pages allocated on free 2014-02-06 22:39:45 +01:00
Baptiste Wicht
1b3ed9ff5a Basic support for allocation of block < 33M 2014-02-06 22:39:06 +01:00
Baptiste Wicht
abd1848c1c Activate VESA 2014-02-06 22:38:13 +01:00
Baptiste Wicht
fe58f07745 Always release virtual memory 2014-02-06 22:13:58 +01:00
Baptiste Wicht
4e99c62288 Implement freeing of virtual pages 2014-02-06 22:07:26 +01:00
Baptiste Wicht
c6a768addc Fix warning 2014-02-06 21:25:40 +01:00
Baptiste Wicht
b94f9d46bd Init VESA only if necessary 2014-02-06 21:16:05 +01:00
Baptiste Wicht
6feae8af83 Prepare virtual allocator implementation 2014-02-05 22:35:39 +01:00
Baptiste Wicht
1f7c4822e7 Add access to the internal array 2014-02-05 22:35:32 +01:00
Baptiste Wicht
896b54c714 Compute as much as possible as compile-time 2014-02-05 20:11:19 +01:00