Anton Lydike
bb13cbeca5
a lot of cleanup, added pmp
3 years ago
Anton Lydike
f75963f7bb
fixed a couple of small bugs
3 years ago
Anton Lydike
8fdff36c65
changed EABORT to ETIMEOUT for marking timeouts
3 years ago
Anton Lydike
8dc72a2d8e
general cleanup in kernel code removing unised defines etc
3 years ago
Anton Lydike
f479e151cb
removed typedef for process control block an renamed struct to match snake case
3 years ago
Anton Lydike
14c2dd95a6
ecall module now kills processes which trigger an exception
3 years ago
Anton Lydike
d1bef0f8a1
improved scheduling code
3 years ago
Anton Lydike
df0a944528
Reuse stacks of dead processes
...
In order to make the stack-space of dead processes usable again, I
addeed a stack data structure which holds unused stack pointers.
When a process is killed, the destructor is called, which will free
the stack associated with the process.
3 years ago
Anton Lydike
4e439f979d
applied uncrustify to sched source
3 years ago
Anton Lydike
426a6508d1
removed trailing whitespaces
3 years ago
Anton Lydike
5dccd2dc80
adding comments to scheduling code
3 years ago
Anton Lydike
737a9a1cf3
cleaning up print statements and unusded variables
3 years ago
Anton Lydike
3b93b864ac
various imrpovements and implementations on the kernel
3 years ago
Anton Lydike
61017db51c
sched.h: create_new_process - correct function to create a new process in an available spot
3 years ago
Anton Lydike
7894808e09
removed current_process_index in scheduling in favour of pointers
3 years ago
Anton Lydike
ab19abe12b
kernel scheduling now working better with ecalls, not resetting the time slice
3 years ago
Anton Lydike
ce9c6e6cfb
started properly implementing syscall structure
3 years ago
Anton Lydike
06f8cfd279
removed mutex kernel code
3 years ago
Anton Lydike
d9625b445a
cleaned up scheduling and boot code
3 years ago
Anton Lydike
8d0178aff1
initial commit
3 years ago