next up previous contents index
Next: (X86) Base Environment: Segmentation Up: (X86) Base Environment Previous: 10.6.6 base_cpuid: global variable

10.6.7 base_stack.h: default kernel stack

 

SYNOPSIS

#include <oskit/machine/base_stack.h>

DESCRIPTION

Definitions related to the default kernel stack.
BASE_STACK_SIZE
  Preprocessor constant defining the size in bytes of the default kernel stack.
base_stack_start
  C external variable declaration for the low-address end of the stack. On the x86, this is the end toward which the stack grows.
base_stack_end
  C external variable declaration for the high-address end of the stack (base_stack_start + BASE_STACK_SIZE). On the x86, this is the end where the stack begins.

This header file can be used in assembly language code as well as C.



University of Utah Flux Research Group