17 Commits (master)

Author SHA1 Message Date
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 f479e151cb removed typedef for process control block an renamed struct to match snake case 3 years ago
Anton Lydike d0dd6595c3 cleaned up ecall code 3 years ago
Anton Lydike 14c2dd95a6 ecall module now kills processes which trigger an exception 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 c5afa93bb3 applied uncrustify to ecall source 3 years ago
Anton Lydike b5893aacab cleaned up ecall code, moved debug statements into a debug check, removed trailing spaces 3 years ago
Anton Lydike 4b31bd9fda made all ecall handlers return optional_int and correctly handle erorrs 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 c8c19f298a bundled all types into ktypes.h and added optionals 3 years ago
Anton Lydike 26e70d2f60 added TextIO module for outputting text 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 cfc1c5c74b removing mutex syscalls 3 years ago
Anton Lydike 8d0178aff1 initial commit 3 years ago