forked from xt-sys/exectos
Reorganize early debug printing; initialize kernel stacks when needed
This commit is contained in:
19
xtoskrnl/ke/globals.c
Normal file
19
xtoskrnl/ke/globals.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/ke/globals.c
|
||||
* DESCRIPTION: XT kernel global variables
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#include <xtos.h>
|
||||
|
||||
|
||||
/* Kernel own boot stack */
|
||||
UCHAR KepKernelBootStackData[KERNEL_STACK_SIZE] = {0};
|
||||
|
||||
/* Kernel own fault stack */
|
||||
UCHAR KepKernelFaultStackData[KERNEL_STACK_SIZE] = {0};
|
||||
|
||||
/* Pointer to boot loader provided DbgPrint() routine */
|
||||
VOID (*LdrPrint)(IN PWCHAR Format, IN ...) = NULL;
|
Reference in New Issue
Block a user