summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/sys/syscall.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-05 20:24:13 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-05 20:24:13 -0400
commit779b7fc1fe91e5a355b6e15de882d46b26ab2270 (patch)
treec62da25a0a0b02488550e856921350fd94668c2b /arch/x86_64/sys/syscall.h
parent73cbb23130f634bf52ac92da063efd3e6016f8ee (diff)
downloadjove-kernel-779b7fc1fe91e5a355b6e15de882d46b26ab2270.tar.gz
jove-kernel-779b7fc1fe91e5a355b6e15de882d46b26ab2270.tar.bz2
jove-kernel-779b7fc1fe91e5a355b6e15de882d46b26ab2270.zip
working syscalls.
Diffstat (limited to 'arch/x86_64/sys/syscall.h')
-rw-r--r--arch/x86_64/sys/syscall.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/x86_64/sys/syscall.h b/arch/x86_64/sys/syscall.h
new file mode 100644
index 0000000..1368897
--- /dev/null
+++ b/arch/x86_64/sys/syscall.h
@@ -0,0 +1,23 @@
+#ifndef _JOVE_ARCH_SYS_SYSCALL_H
+#define _JOVE_ARCH_SYS_SYSCALL_H 1
+
+#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[];
+};
+
+#define SYSCALL_SERIAL_COM_WRITE 0
+
+#endif