mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Put MAX_SYSCALLS in hex to match syscalls list
This commit is contained in:
@@ -12,7 +12,7 @@ enum class syscall : uint64_t
|
|||||||
|
|
||||||
// Maximum syscall id. If you change this, also change
|
// Maximum syscall id. If you change this, also change
|
||||||
// MAX_SYSCALLS in syscall.s
|
// MAX_SYSCALLS in syscall.s
|
||||||
MAX = 64
|
MAX = 0x40
|
||||||
};
|
};
|
||||||
|
|
||||||
void syscall_enable();
|
void syscall_enable();
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
; Make sure to keep MAX_SYSCALLS in sync with
|
; Make sure to keep MAX_SYSCALLS in sync with
|
||||||
; syscall::MAX in syscall.h
|
; syscall::MAX in syscall.h
|
||||||
MAX_SYSCALLS equ 64
|
MAX_SYSCALLS equ 0x40
|
||||||
|
|
||||||
extern __counter_syscall_enter
|
extern __counter_syscall_enter
|
||||||
extern __counter_syscall_sysret
|
extern __counter_syscall_sysret
|
||||||
|
|||||||
Reference in New Issue
Block a user