Processor$set_kernel_stack function <nucleus/kernel.h>
The Processor$set_kernel_stack function sets the location of the stack that will be used if an interrupt occurs from outside of kernel-mode. When such an interrupt occurs, the processor will switch to this stack before executing the interrupt service routines.
Syntax
void Processor$set_kernel_stack( void *top );
Parameters
top
The address of the top of the kernel stack.