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,16 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Chloe M.
|
||||
* Provided under the BSD-3 clause.
|
||||
*
|
||||
* Description: System calls
|
||||
* Author: Chloe M.
|
||||
*/
|
||||
|
||||
#include <ptdef.h>
|
||||
#include <ke/syscall.h>
|
||||
#include <ps/uapi.h>
|
||||
|
||||
/* System call table */
|
||||
PT_STATUS(*SystemCallTable[_SYSCALL_MAX])(SYSCALL_ARGS *Args) = {
|
||||
[SYS_EXIT] = PsSysThreadExit
|
||||
};
|
||||
Reference in New Issue
Block a user