Put MAX_SYSCALLS in hex to match syscalls list

This commit is contained in:
Justin C. Miller
2019-04-09 23:35:32 -07:00
parent 070be0b005
commit fd1adc0262
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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