diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-11-30 16:00:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-30 16:00:55 -0800 |
| commit | a975ef497162297fa80658170481f6d3fcfc25bc (patch) | |
| tree | 6d07bde669a9245c784cc9826ecc80ebd29c41af /supervisor/shared/stack.h | |
| parent | 299b6efd846e47cc705d2962cefffb5b0af7324c (diff) | |
| parent | d6f8a43f6cc755b90376a66b75818744fbe63320 (diff) | |
Merge pull request #3695 from cwalther/movable
Add movable supervisor allocations
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); |
