Move status codes into a separate header
All checks were successful
Build documentation / build-and-deploy (push) Successful in 36s

This commit is contained in:
2026-01-16 19:07:32 +01:00
parent a054257336
commit 11a1eb52aa
6 changed files with 38 additions and 38 deletions

View File

@@ -3,6 +3,7 @@
#include <amd64/mm.h>
#include <amd64/msr-index.h>
#include <amd64/msr.h>
#include <m/status.h>
#include <m/syscall_defs.h>
#include <proc/proc.h>
#include <sys/debug.h>
@@ -20,7 +21,7 @@ int amd64_syscall_dispatch (void* stack_ptr) {
syscall_handler_func_t func = syscall_find_handler (syscall_num);
if (func == NULL)
return -SR_SYSCALL_NOT_FOUND;
return -ST_SYSCALL_NOT_FOUND;
struct proc* caller = thiscpu->proc_current;