summaryrefslogtreecommitdiff
path: root/supervisor/shared/stack.h
diff options
context:
space:
mode:
authorMark <56205165+gamblor21@users.noreply.github.com>2020-12-01 15:47:16 -0600
committerGitHub <noreply@github.com>2020-12-01 15:47:16 -0600
commit237385798cb6989a5ed13e120c3cc5e2415af935 (patch)
tree932aa4302e84bd59f84c29c2364f9c6d75192fb2 /supervisor/shared/stack.h
parent23ed3ef971f8f38497337874da39273e5ae090d7 (diff)
parent5b3c930e384ef6440f0f7b5167bb54ea68a8be76 (diff)
Merge branch 'main' into bus_device
Diffstat (limited to 'supervisor/shared/stack.h')
-rwxr-xr-xsupervisor/shared/stack.h6
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);