summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-16 19:06:33 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-16 19:06:33 +0100
commitad92a1e4bc0f9f25976988852eec2269b9a717c5 (patch)
treedd3872f7f8050bc6ebef55a771f16ee05dcbcee8 /Kernel/Syscall.h
parent086f68e878472034574c4bb7ccf5288d5035a7d2 (diff)
downloadserenity-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.h3
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 {