mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
syscalls: shutdown
This commit is contained in:
@@ -91,6 +91,7 @@ extern syscall_sigsuspend
|
||||
extern syscall_sigtimedwait
|
||||
extern syscall_sigpending
|
||||
extern syscall_killthread
|
||||
extern syscall_shutdown
|
||||
syscalltab:
|
||||
dq syscall_print
|
||||
dq syscall_mmap
|
||||
@@ -184,7 +185,8 @@ dq syscall_sigsuspend
|
||||
dq syscall_sigtimedwait
|
||||
dq syscall_sigpending
|
||||
dq syscall_killthread
|
||||
syscallcount equ 92
|
||||
dq syscall_shutdown
|
||||
syscallcount equ 93
|
||||
section .text
|
||||
global arch_syscall_entry
|
||||
; on entry:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#ifdef SYSCALL_LOGGING
|
||||
|
||||
#define SYSCALL_COUNT 92
|
||||
#define SYSCALL_COUNT 93
|
||||
#define LOGSTR(x) arch_e9_puts(x)
|
||||
|
||||
static char *name[] = {
|
||||
@@ -100,7 +100,8 @@ static char *name[] = {
|
||||
"sigsuspend",
|
||||
"sigtimedwait",
|
||||
"sigpending",
|
||||
"killthread"
|
||||
"killthread",
|
||||
"shutdown"
|
||||
};
|
||||
|
||||
static char *args[] = {
|
||||
@@ -195,7 +196,8 @@ static char *args[] = {
|
||||
"sigset %p", // sigsuspend
|
||||
"sigset %p info %p, timespec %p", // sigtimedwait
|
||||
"sigset %p\n", // sigpending
|
||||
"pid %d tid %d signal %d" // killthread
|
||||
"pid %d tid %d signal %d", // killthread
|
||||
"how %d" // shutdown
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user