1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

Kernel: Add sys$get_stack_bounds() for finding the stack base & size

This will be useful when implementing conservative garbage collection.
This commit is contained in:
Andreas Kling 2020-03-16 19:06:33 +01:00
parent 086f68e878
commit ad92a1e4bc
5 changed files with 33 additions and 1 deletions

View file

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