15 Commits (master)

Author SHA1 Message Date
Anton Lydike bb13cbeca5 a lot of cleanup, added pmp 3 years ago
Anton Lydike f479e151cb removed typedef for process control block an renamed struct to match snake case 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 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 c8c19f298a bundled all types into ktypes.h and added optionals 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 31339216b7 fixed missing semicolon in sched.h 3 years ago
Anton Lydike d9625b445a cleaned up scheduling and boot code 3 years ago
Anton Lydike 8d0178aff1 initial commit 3 years ago