From 4ca0bdf61196d0c3fd3f0fdbfb2d72481025cca2 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 6 Sep 2026 16:50:28 -0400 Subject: add syscall for vtt_write --- arch/x86_64/sys/syscall.c | 2 +- arch/x86_64/sys/syscall.h | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'arch') diff --git a/arch/x86_64/sys/syscall.c b/arch/x86_64/sys/syscall.c index b2d3e7f..53351e7 100644 --- a/arch/x86_64/sys/syscall.c +++ b/arch/x86_64/sys/syscall.c @@ -10,7 +10,7 @@ syscall_handle_t s_arch_handles[128] = { }; int -syscall_handle_arch( +_syscall_handle_arch( jove_owned_obj_t *pcb_obj, jove_owned_obj_t *objdir, jove_owned_obj_t *message_obj, diff --git a/arch/x86_64/sys/syscall.h b/arch/x86_64/sys/syscall.h index 1368897..9138101 100644 --- a/arch/x86_64/sys/syscall.h +++ b/arch/x86_64/sys/syscall.h @@ -3,20 +3,12 @@ #include "sys/syscall.h" -int -_syscall_handle_serial( - jove_owned_obj_t *pcb_obj, - jove_owned_obj_t *objdir, - jove_owned_obj_t *message_obj, - jove_owned_obj_t *target_obj, - struct syscall_header *header, - size_t bytes_left, - void *payload); struct syscall_serial_write { size_t len; char data[]; }; +int _syscall_handle_serial(SYSCALL_FUNCTION_ARGS); #define SYSCALL_SERIAL_COM_WRITE 0 -- cgit v1.2.3