1284 Commits

Author SHA1 Message Date
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
Baptiste Wicht
ac0c3338e6 Prepare break space support 2014-02-04 20:35:55 +01:00
Baptiste Wicht
808bd4c970 Fix array ssize 2014-02-04 20:16:29 +01:00
Baptiste Wicht
b2012b3669 Fix warnings 2014-02-04 20:14:10 +01:00
Baptiste Wicht
085f49e6cc Make the init thread start the shell 2014-02-04 19:59:54 +01:00
Baptiste Wicht
cc9dc11f93 Implement waiting 2014-02-04 19:48:11 +01:00
Baptiste Wicht
2cf479d879 Prepare init task 2014-02-04 18:47:28 +01:00
Baptiste Wicht
88326cc88e Keep ppid for each process 2014-02-04 18:37:44 +01:00
Baptiste Wicht
85772a554e Disable debug 2014-02-03 21:37:22 +01:00
Baptiste Wicht
d58c3b8326 Test invoking long from tsh 2014-02-03 21:35:56 +01:00
Baptiste Wicht
93b763ad86 Prepare system calls for exec and await 2014-02-03 21:28:17 +01:00
Baptiste Wicht
d3a20db821 Move thread creation implementation into scheduler 2014-02-03 21:15:00 +01:00
Baptiste Wicht
3d68d1eb50 Clean 2014-02-03 20:41:48 +01:00
Baptiste Wicht
9ba1524f5c Remove sleep command 2014-02-03 20:25:41 +01:00
Baptiste Wicht
2f4a5b1188 Implement userland sleep 2014-02-03 19:02:23 +01:00
Baptiste Wicht
37b29d2a93 Improve encapsulation 2014-02-03 18:47:39 +01:00
Baptiste Wicht
5fa70662c0 Separate PIT from timer manager 2014-02-03 18:38:39 +01:00
Baptiste Wicht
889b765242 Add new process states 2014-02-03 18:16:17 +01:00
Baptiste Wicht
447083666d Output debug messages only in debug mode 2014-02-03 18:04:29 +01:00
Baptiste Wicht
080b179646 Merge branch 'develop' of github.com:wichtounet/thor-os into develop 2014-02-03 16:49:43 +01:00
Baptiste Wicht
4c1a853f32 Remove debug message 2014-02-03 14:33:23 +01:00