Added a datasegment for privilege level 3
The syscall interrupt is now available from privilege level 3
Removed page invalidation because it is not performant to it like this.
Instead the page is invalidated when unmapping it. See vmm.c
The code- and stacksegments are now loaded with the correct Segmentindex
and RPL.
Removed hlt instruction because it is not available in Usermode
Added missing ';'
Bugfix: The uninitialized variable tmp is now checked seperatly and not
in the for loop
Diverent improvements.
Added new function to set the Stack.
Removed unused Stack
Included missing file and added missing typecast
Each process has now its own kernelstack. This does also fix a bug in
taskswitching.
The root directory is now mounted
Changed the method how to determine when to switch task
Added some syscalls
Added some ifdef for library mode and kernel mode
Added some errorconditions
Added the stdout, stdin and stderr as device
Bugfixes in function getDirs
Bugfixes
Added some missing syscalls