From 8e268df60bde6b5548b849cc9b83a224a74b3e43 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 17 Sep 2025 19:21:57 -0400 Subject: kern: Add syscall entry and SYS_exit syscall Signed-off-by: Ian Moffett --- src/sys/include/arch/amd64/trap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/include/arch/amd64/trap.h') diff --git a/src/sys/include/arch/amd64/trap.h b/src/sys/include/arch/amd64/trap.h index 53f38e8..4b6e33a 100644 --- a/src/sys/include/arch/amd64/trap.h +++ b/src/sys/include/arch/amd64/trap.h @@ -62,6 +62,7 @@ void general_prot(void *sf); void page_fault(void *sf); void nmi(void *sf); void ss_fault(void *sf); +void trap_syscall(struct trapframe *tf); void trap_handler(struct trapframe *tf); #endif /* !__ASSEMBLER__ */ -- cgit v1.2.3