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.
|
||||
*/
|
||||
|
||||
#ifndef _PTAPI_SYSCALL_H_
|
||||
#define _PTAPI_SYSCALL_H_ 1
|
||||
|
||||
#define SYS_NOP 0x00 /* Does nothing / reserved */
|
||||
#define SYS_EXIT 0x01 /* Exit the current thread */
|
||||
#define _SYSCALL_MAX 0x02 /* Always bump when adding new system call */
|
||||
|
||||
#endif /* !_PTAPI_SYSCALL_H_ */
|
||||
Reference in New Issue
Block a user