diff options
Diffstat (limited to 'arch/x86_64/syscall')
-rw-r--r-- | arch/x86_64/syscall/invoke-mapping.c | 2 | ||||
-rw-r--r-- | arch/x86_64/syscall/invoke-untyped-retype.c | 2 | ||||
-rw-r--r-- | arch/x86_64/syscall/syscall.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/syscall/invoke-mapping.c b/arch/x86_64/syscall/invoke-mapping.c index 5fde8be..186b420 100644 --- a/arch/x86_64/syscall/invoke-mapping.c +++ b/arch/x86_64/syscall/invoke-mapping.c @@ -2,7 +2,7 @@ #include "arch/x86_64/syscall.h" #include "arch/x86_64/page.h" #include <stddef.h> -#include "error.h" +#include "api/error.h" #include "lock.h" #include "string.h" #include "memory.h" diff --git a/arch/x86_64/syscall/invoke-untyped-retype.c b/arch/x86_64/syscall/invoke-untyped-retype.c index 4db91b9..3057f25 100644 --- a/arch/x86_64/syscall/invoke-untyped-retype.c +++ b/arch/x86_64/syscall/invoke-untyped-retype.c @@ -1,5 +1,5 @@ #include <object.h> -#include <error.h> +#include "api/error.h" int ko_untyped_retype_memory_mapping( diff --git a/arch/x86_64/syscall/syscall.c b/arch/x86_64/syscall/syscall.c index 5582336..7ddd179 100644 --- a/arch/x86_64/syscall/syscall.c +++ b/arch/x86_64/syscall/syscall.c @@ -2,7 +2,7 @@ #include "syscall/handles.h" #include "print.h" #include "lock.h" -#include "error.h" +#include "api/error.h" #include <stddef.h> static inline int @@ -27,7 +27,7 @@ _syscall_handler_arch(objdir_t *root_dir, objdir_entry_t *target, uint8_t *paylo default: klogf("Missing implementation of invoke for type %i\n", target->type); mtx_release(&target->lock); - return -KE_BADTYPE; + return KE_BADTYPE; } } |