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