diff options
Diffstat (limited to 'src/pkg/runtime/stack.h')
-rw-r--r-- | src/pkg/runtime/stack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/runtime/stack.h b/src/pkg/runtime/stack.h index f56dac120..d42385d6c 100644 --- a/src/pkg/runtime/stack.h +++ b/src/pkg/runtime/stack.h @@ -94,4 +94,9 @@ enum { // The maximum number of bytes that a chain of NOSPLIT // functions can use. StackLimit = StackGuard - StackSystem - StackSmall, + + // The assumed size of the top-of-stack data block. + // The actual size can be smaller than this but cannot be larger. + // Checked in proc.c's runtime.malg. + StackTop = 72, }; |