[kernel] Added the process_kill syscall

Added process_kill, and also cleaned up all the disparate types being
used for thread/process exit codes. (Now all int32_t.)
This commit is contained in:
Justin C. Miller
2021-01-22 00:38:46 -08:00
parent aae18fd035
commit 0df93eaa98
7 changed files with 24 additions and 10 deletions

View File

@@ -136,7 +136,7 @@ thread::wake_on_result(kobject *obj, j6_status_t result)
}
void
thread::exit(uint32_t code)
thread::exit(int32_t code)
{
m_return_code = code;
set_state(state::exited);