mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
Kernel: Mark s_syscall_table const so it ends up in ro_data.
This commit is contained in:
parent
84ad8a51d3
commit
1d7a0ab5ea
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ UNMAP_AFTER_INIT void initialize()
|
|||
typedef KResultOr<FlatPtr> (Process::*Handler)(FlatPtr, FlatPtr, FlatPtr);
|
||||
typedef KResultOr<FlatPtr> (Process::*HandlerWithRegisterState)(RegisterState&);
|
||||
#define __ENUMERATE_SYSCALL(x) reinterpret_cast<Handler>(&Process::sys$##x),
|
||||
static Handler s_syscall_table[] = {
|
||||
static const Handler s_syscall_table[] = {
|
||||
ENUMERATE_SYSCALLS(__ENUMERATE_SYSCALL)
|
||||
};
|
||||
#undef __ENUMERATE_SYSCALL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue