diff options
| author | Mark <56205165+gamblor21@users.noreply.github.com> | 2020-12-01 15:47:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 15:47:16 -0600 |
| commit | 237385798cb6989a5ed13e120c3cc5e2415af935 (patch) | |
| tree | 932aa4302e84bd59f84c29c2364f9c6d75192fb2 /supervisor/shared/stack.h | |
| parent | 23ed3ef971f8f38497337874da39273e5ae090d7 (diff) | |
| parent | 5b3c930e384ef6440f0f7b5167bb54ea68a8be76 (diff) | |
Merge branch 'main' into bus_device
Diffstat (limited to 'supervisor/shared/stack.h')
| -rwxr-xr-x | supervisor/shared/stack.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/supervisor/shared/stack.h b/supervisor/shared/stack.h index 7096f0b3e..1c75de5f7 100755 --- a/supervisor/shared/stack.h +++ b/supervisor/shared/stack.h @@ -31,10 +31,12 @@ #include "supervisor/memory.h" -extern supervisor_allocation* stack_alloc; - void stack_init(void); void stack_resize(void); +// Actual stack location and size, may be larger than requested. +uint32_t* stack_get_bottom(void); +size_t stack_get_length(void); +// Next/current requested stack size. void set_next_stack_size(uint32_t size); uint32_t get_current_stack_size(void); bool stack_ok(void); |
