Move HL related global variables into separate file
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
2e790bd9b2
commit
d8bc45e3bb
@ -14,6 +14,7 @@ list(APPEND XTOSKRNL_SOURCE
|
|||||||
${XTOSKRNL_SOURCE_DIR}/ar/${ARCH}/traps.c
|
${XTOSKRNL_SOURCE_DIR}/ar/${ARCH}/traps.c
|
||||||
${XTOSKRNL_SOURCE_DIR}/hl/cport.c
|
${XTOSKRNL_SOURCE_DIR}/hl/cport.c
|
||||||
${XTOSKRNL_SOURCE_DIR}/hl/efifb.c
|
${XTOSKRNL_SOURCE_DIR}/hl/efifb.c
|
||||||
|
${XTOSKRNL_SOURCE_DIR}/hl/globals.c
|
||||||
${XTOSKRNL_SOURCE_DIR}/hl/${ARCH}/ioport.c
|
${XTOSKRNL_SOURCE_DIR}/hl/${ARCH}/ioport.c
|
||||||
${XTOSKRNL_SOURCE_DIR}/ke/globals.c
|
${XTOSKRNL_SOURCE_DIR}/ke/globals.c
|
||||||
${XTOSKRNL_SOURCE_DIR}/ke/krnlinit.c
|
${XTOSKRNL_SOURCE_DIR}/ke/krnlinit.c
|
||||||
|
13
xtoskrnl/hl/globals.c
Normal file
13
xtoskrnl/hl/globals.c
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/**
|
||||||
|
* PROJECT: ExectOS
|
||||||
|
* COPYRIGHT: See COPYING.md in the top level directory
|
||||||
|
* FILE: xtoskrnl/hl/globals.c
|
||||||
|
* DESCRIPTION: Architecture independent global variables related to HL subsystem
|
||||||
|
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <xtos.h>
|
||||||
|
|
||||||
|
|
||||||
|
/* FrameBuffer information */
|
||||||
|
HAL_FRAMEBUFFER_DATA HlpFrameBufferData;
|
@ -2,16 +2,13 @@
|
|||||||
* PROJECT: ExectOS
|
* PROJECT: ExectOS
|
||||||
* COPYRIGHT: See COPYING.md in the top level directory
|
* COPYRIGHT: See COPYING.md in the top level directory
|
||||||
* FILE: xtoskrnl/ke/globals.c
|
* FILE: xtoskrnl/ke/globals.c
|
||||||
* DESCRIPTION: XT kernel global variables
|
* DESCRIPTION: Architecture independent global variables related to KE subsystem
|
||||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <xtos.h>
|
#include <xtos.h>
|
||||||
|
|
||||||
|
|
||||||
/* FrameBuffer information */
|
|
||||||
HAL_FRAMEBUFFER_DATA HlpFrameBufferData;
|
|
||||||
|
|
||||||
/* Pointer to boot loader provided DbgPrint() routine */
|
/* Pointer to boot loader provided DbgPrint() routine */
|
||||||
VOID (*KeDbgPrint)(IN PWCHAR Format, IN ...) = NULL;
|
VOID (*KeDbgPrint)(IN PWCHAR Format, IN ...) = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user