ptos/amd64+ke: Add system call groundwork + exit syscall
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Chloe M.
|
||||
* Provided under the BSD-3 clause.
|
||||
*
|
||||
* Description: Thread related user-API
|
||||
* Author: Chloe M.
|
||||
*/
|
||||
|
||||
#include <ps/uapi.h>
|
||||
#include <ps/thread.h>
|
||||
|
||||
#include <ex/trace.h>
|
||||
|
||||
PT_STATUS
|
||||
PsSysThreadExit(SYSCALL_ARGS *Args)
|
||||
{
|
||||
PsExitThread(Args->Arg[0]);
|
||||
UNREACHABLE();
|
||||
}
|
||||
Reference in New Issue
Block a user