Commit graph

48 commits

Author SHA1 Message Date
3cf7888fea Better documentation of {k,p}{malloc,free}() functions 2016-03-04 15:03:06 +01:00
Stefan Lankes
06d34e9b67 switch to autotools 2016-01-10 21:50:24 +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
34a883b767 define default stack size of user-level applications 2015-01-18 20:30:03 +01:00
Stefan Lankes
6561c9511c remove typos and obsolete files 2015-01-18 08:57:28 +01:00
Stefan Lankes
7bd559b0a7 add newlib with HelloWorld example 2015-01-18 08:52:05 +01:00
Stefan Lankes
119d54c545 add helper function to list the file system 2015-01-18 07:42:58 +01:00
Stefan Lankes
562f54c6f0 adapt filesystem to the new memory management system 2015-01-17 18:58:04 +01:00
Stefan Lankes
fb765930ef Merge branch 'stage6' into stage7 2015-01-17 18:49:37 +01:00
Stefan Lankes
048e64213f Merge branch 'stage5' into stage6 2015-01-17 18:48:32 +01:00
Stefan Lankes
f2a52656b2 define macro for the limit of the kernel space 2015-01-17 18:47:08 +01:00
Stefan Lankes
86f9941629 Merge branch 'stage6' into stage7 2015-01-17 18:42:42 +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
b84b044437 add missing header 2014-12-29 18:25:08 +01:00
Stefan Lankes
d2017a1dd6 add first version of a minimal file system and initrd support 2014-12-29 18:22:48 +01:00
Stefan Lankes
aee7b9de52 per default eduOS doesn't support UART 2014-12-29 00:18:43 +01:00
Stefan Lankes
719b54b05a add more helper functions to deal with C string (strstr, strtol, strtoul, ...) 2014-12-29 00:11:04 +01:00
Stefan Lankes
4a9440dd62 redesign of the IO interface
- all messages are stored in a ring buffer
- new devices (e.g. UART) are able to print previous messages
2014-12-13 18:00:35 +01:00
Stefan Lankes
13e594d16e improve some comments 2014-12-11 22:45:23 +01:00
Stefan Lankes
168c8a30ab create task to handle incoming messages 2014-12-11 22:43:45 +01:00
Stefan Lankes
41ab209d83 add mailbox system 2014-12-11 22:30:06 +01:00
Stefan Lankes
c2947fbb88 add missing header 2014-12-11 22:28:45 +01:00
Stefan Lankes
df0b192e21 add basic support of an UART device 2014-12-09 10:09:03 +01:00
Stefan Lankes
e9960dc78e get_current_stack set CR3 => required for a context switch 2014-12-03 23:10:32 +01:00
a471243f83 added first version of userspace fork/kill support to new branch 2014-11-28 01:42:41 +01:00
2621c0b261 fixed comment capitalization, style and indentions 2014-06-30 01:46:59 +02:00
141e720356 added missing #define 2014-06-30 00:18:31 +02:00
153447482a added headers for paging code 2014-06-30 00:15:20 +02:00
b55887a95d added bitmap allocator 2014-06-30 00:05:56 +02: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
ed27254338 add irq save spinlocks and semaphores 2013-11-27 22:36:34 +01:00
Stefan Lankes
de9207a6b2 add semaphore, which does not base busy-waiting 2013-11-26 09:17:59 +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
ab28a5e612 add a basic spinlock, which based on a ticket lock 2013-11-26 09:15:43 +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
930bc01817 use the meaningful name readyqueues instead of runqueue 2013-11-22 18:07:05 +01:00
Stefan Lankes
67926d7c65 add support of nonpreemptive multitasking and additional comments 2013-11-19 23:11:53 +01:00
Stefan Lankes
fc33e338a4 remove obsolete declaration of atoi and strtol 2013-11-13 23:32:42 +01:00
Stefan Lankes
dcf3f79e9b move string conversion functions to stdlib.h 2013-11-13 21:34:32 +01:00
Stefan Lankes
7dc1a648bf remove typo 2013-11-12 08:51:35 +01:00
Stefan Lankes
9ac39ba7ea add documentation into the source code 2013-11-08 22:55:29 +01:00
Stefan Lankes
4fd2b7f90c add highly tuned assmbler functions for basic string operations 2013-11-08 22:06:07 +01:00
Stefan Lankes
07b2250270 add the "smallest" HelloWorld of the world 2013-11-08 17:22:37 +01:00