Commit graph

29 commits

Author SHA1 Message Date
Stefan Lankes
926f818e83 reduce the number of debug messages 2014-12-13 17:55:29 +01:00
Stefan Lankes
168c8a30ab create task to handle incoming messages 2014-12-11 22:43:45 +01:00
Stefan Lankes
b92ec13995 some code cleanups 2014-12-05 09:38:50 +01:00
Stefan Lankes
f6a5f75725 fix wrong calculation of active tasks 2014-12-05 09:29:10 +01:00
Stefan Lankes
2eaa7589ee enable cache for our user-level task 2014-12-05 07:26:24 +01:00
Stefan Lankes
4f6792e3c2 Merge remote-tracking branch 'stv0g/stage5' into stage5 2014-12-04 22:24:58 +01:00
Stefan Lankes
c0d69c96be add demo of a user-level process
dirty hack, map the function userfoo and its stack to user space
2014-12-04 22:19:18 +01:00
42571eb4eb added proper accounting of user used page frames 2014-12-04 21:44:02 +01:00
Stefan Lankes
370997f516 copy default task's cr3 register to the PCB 2014-12-03 23:39:13 +01:00
Stefan Lankes
e9960dc78e get_current_stack set CR3 => required for a context switch 2014-12-03 23:10:32 +01:00
Stefan Lankes
04290f885d fix wrong pointer check 2014-12-02 23:37:43 +01:00
2cf3c89a40 fixed syntax errors and compiler warnings in new branch 2014-11-28 03:20:31 +01:00
1a20a9fb45 Merge branch 'paging' into paging-fork
Conflicts:
	arch/x86/mm/page.c
2014-11-28 02:45:05 +01:00
b86e9d9a7d fixed external declarations 2014-11-28 01:53:32 +01:00
a471243f83 added first version of userspace fork/kill support to new branch 2014-11-28 01:42:41 +01:00
fbf55178c1 added first version of paging code
(only page_map() works for now)
2014-08-21 20:17:02 +02:00
92c90c299a added bitmap initialization based on Multiboot infos 2014-06-30 00:10:04 +02:00
Stefan Lankes
c71b6c6c8a Simplify code, add additional comments 2014-01-22 12:15:15 +01:00
Stefan Lankes
eb8859d706 extending example task, fix bug in handling of the TSS 2014-01-22 12:13:30 +01:00
Stefan Lankes
b83bc1d261 add first steps to support user-level tasks 2014-01-22 12:12:39 +01:00
Stefan Lankes
87801a1706 add preemptive multitasking and interrupt handling 2013-11-27 22:49:30 +01:00
Stefan Lankes
ebf5172211 add an example for the usage of a semaphore 2013-11-26 09:23:39 +01:00
Stefan Lankes
ba491114bc add basic functions to block and to unblock a task 2013-11-26 09:17:14 +01:00
Stefan Lankes
e3ba77995c remove one (obsolete) readyqueue
priority 0 is only used by the idle task and doesn't need own queue
=> reduce the number of queues
2013-11-22 19:56:59 +01:00
Stefan Lankes
fea9e78f32 remove obsolte function 2013-11-22 18:42:39 +01:00
Stefan Lankes
930bc01817 use the meaningful name readyqueues instead of runqueue 2013-11-22 18:07:05 +01:00
Stefan Lankes
3557efcc7a simplify scheduling code 2013-11-21 17:30:52 +01:00
Stefan Lankes
67926d7c65 add support of nonpreemptive multitasking and additional comments 2013-11-19 23:11:53 +01:00
Stefan Lankes
07b2250270 add the "smallest" HelloWorld of the world 2013-11-08 17:22:37 +01:00