diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-16 19:06:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-16 19:06:33 +0100 |
commit | ad92a1e4bc0f9f25976988852eec2269b9a717c5 (patch) | |
tree | dd3872f7f8050bc6ebef55a771f16ee05dcbcee8 /Kernel/Syscall.h | |
parent | 086f68e878472034574c4bb7ccf5288d5035a7d2 (diff) | |
download | serenity-ad92a1e4bc0f9f25976988852eec2269b9a717c5.zip |
Kernel: Add sys$get_stack_bounds() for finding the stack base & size
This will be useful when implementing conservative garbage collection.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index f9b3e7384f..5cef651458 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -178,7 +178,8 @@ namespace Kernel { __ENUMERATE_SYSCALL(pledge) \ __ENUMERATE_SYSCALL(unveil) \ __ENUMERATE_SYSCALL(perf_event) \ - __ENUMERATE_SYSCALL(shutdown) + __ENUMERATE_SYSCALL(shutdown) \ + __ENUMERATE_SYSCALL(get_stack_bounds) namespace Syscall { |