Commit graph

22 commits

Author SHA1 Message Date
Stefan Lankes
b377e52d6f remove memory leak 2016-01-11 09:33:34 +01:00
Stefan Lankes
d47bdb3104 remove obsolete function 2015-01-18 22:20:42 +01:00
Stefan Lankes
a125dd6dce add support to start elf binaries
- add ELF loader
- create heap on demand (on first touch)
- add system call to increase the heap
2015-01-18 20:31:32 +01:00
Stefan Lankes
bdebe44a26 Merge branch 'stage5' into stage6
Conflicts:
	arch/x86/include/asm/page.h
	arch/x86/kernel/entry.asm
	arch/x86/mm/page.c
2015-01-17 16:45:06 +01:00
Stefan Lankes
7f8e4d2934 remove obsolte code and switch back to Steffen's revised page handling 2015-01-17 16:17:20 +01:00
Stefan Lankes
f1dd432a53 merge Steffen's heap implementation into eduOS 2015-01-12 22:35:08 +01:00
Stefan Lankes
926f818e83 reduce the number of debug messages 2014-12-13 17:55:29 +01:00
Stefan Lankes
f6a5f75725 fix wrong calculation of active tasks 2014-12-05 09:29:10 +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
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
a471243f83 added first version of userspace fork/kill support to new branch 2014-11-28 01:42:41 +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
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