ptos/amd64+ke: Add system call groundwork + exit syscall

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
2026-07-15 21:20:35 +00:00
parent d72df46f64
commit d4390c6a1b
9 changed files with 146 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: Process related user-API
* Author: Chloe M.
*/
#ifndef _PS_UAPI_H_
#define _PS_UAPI_H_ 1
#include <ps/thread.h>
#include <ke/syscall.h>
/*
* Exit the current thread:
*
* @ARG[0]: Exit status code
*/
PT_STATUS PsSysThreadExit(SYSCALL_ARGS *Args);
#endif /* !_PS_UAPI_H_ */