Move status codes into a separate header
All checks were successful
Build documentation / build-and-deploy (push) Successful in 36s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 36s
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user