diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-09-18 13:52:58 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-09-18 13:52:58 -0400 |
commit | ddc4fbc15223e362896a9f42beca73f05f48e664 (patch) | |
tree | 30f8ffc989bc66d9d9e67c7321b3d7a9c46dc130 /syscall | |
parent | cfc793e204ba63d281e778a36992b8c86dd0ad88 (diff) | |
download | jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.gz jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.bz2 jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.zip |
move usermode-critical info to include/api
Diffstat (limited to 'syscall')
-rw-r--r-- | syscall/handler.c | 5 | ||||
-rw-r--r-- | syscall/invoke-untyped.c | 4 | ||||
-rw-r--r-- | syscall/invoke_objdir.c | 7 |
3 files changed, 8 insertions, 8 deletions
diff --git a/syscall/handler.c b/syscall/handler.c index 5bc3c6f..da36e17 100644 --- a/syscall/handler.c +++ b/syscall/handler.c @@ -1,11 +1,10 @@ -#include "syscall.h" +#include "api/syscall.h" +#include "api/error.h" #include "object.h" #include "handles.h" #include "device/processor.h" #include "print.h" -#include "error.h" #include "lock.h" -#include "memory.h" #include <stdint.h> #include <stddef.h> diff --git a/syscall/invoke-untyped.c b/syscall/invoke-untyped.c index 483d36f..ae9482f 100644 --- a/syscall/invoke-untyped.c +++ b/syscall/invoke-untyped.c @@ -1,7 +1,7 @@ #include "handles.h" #include "object.h" -#include "syscall.h" -#include "error.h" +#include "api/syscall.h" +#include "api/error.h" #include "memory.h" #include "print.h" diff --git a/syscall/invoke_objdir.c b/syscall/invoke_objdir.c index 0cc5a44..8f0a923 100644 --- a/syscall/invoke_objdir.c +++ b/syscall/invoke_objdir.c @@ -1,6 +1,6 @@ #include "handles.h" -#include "syscall.h" -#include "error.h" +#include "api/syscall.h" +#include "api/error.h" #include "lock.h" #include "string.h" #include "print.h" @@ -15,8 +15,9 @@ s_handle_invoke_objdir_getmemb( { path_byte_t member; obj_type_t *dest; - SYSCALL_PAYLOAD_TAKEL(payload, payload_at, member, uint8_t); + + payload_at = 0; SYSCALL_PAYLOAD_TAKEP(payload, payload_at, dest, obj_type_t); *dest = target_dir->entries[member].type; |