Fix release build

此提交包含在:
2022-12-28 23:28:49 +01:00
父節點 dec021b1ec
當前提交 e6a7918bac
共有 2 個檔案被更改,包括 3 行新增1 行删除

查看文件

@@ -12,8 +12,10 @@
/* XTOS platform debugging macros */ /* XTOS platform debugging macros */
#ifdef DBG #ifdef DBG
#define DEBUG 1
#define LDRPRINT(Format, ...) if(LdrPrint) LdrPrint(Format, __VA_ARGS__); #define LDRPRINT(Format, ...) if(LdrPrint) LdrPrint(Format, __VA_ARGS__);
#else #else
#define DEBUG 0
#define LDRPRINT(Format, ...) ((VOID)NULL) #define LDRPRINT(Format, ...) ((VOID)NULL)
#endif #endif

查看文件

@@ -24,7 +24,7 @@ VOID
KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters) KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
{ {
/* Check if debugging enabled and if boot loader provided routine for debug printing */ /* Check if debugging enabled and if boot loader provided routine for debug printing */
if(DBG && Parameters->LoaderInformation.DbgPrint) if(DEBUG && Parameters->LoaderInformation.DbgPrint)
{ {
/* Use loader's provided DbgPrint() routine for early printing to serial console */ /* Use loader's provided DbgPrint() routine for early printing to serial console */
LdrPrint = Parameters->LoaderInformation.DbgPrint; LdrPrint = Parameters->LoaderInformation.DbgPrint;