Implement initial memory manager infrastructure #24

Open
harraiken wants to merge 198 commits from memmgr into master
Showing only changes of commit e2eff2b836 - Show all commits

View File

@@ -9,6 +9,8 @@
#ifndef __XTDK_XTDEBUG_H #ifndef __XTDK_XTDEBUG_H
#define __XTDK_XTDEBUG_H #define __XTDK_XTDEBUG_H
#include <xtcompat.h>
/* Debugging macros */ /* Debugging macros */
#define CHECKPOINT DebugPrint(L"Checkpoint reached at %s:%d\n", __RELFILE__, __LINE__); #define CHECKPOINT DebugPrint(L"Checkpoint reached at %s:%d\n", __RELFILE__, __LINE__);
@@ -23,7 +25,7 @@
#define DebugPrint(Format, ...) DbgPrint(Format, __VA_ARGS__); #define DebugPrint(Format, ...) DbgPrint(Format, __VA_ARGS__);
#else #else
#define DEBUG 0 #define DEBUG 0
#define DebugPrint(Format, ...) ((VOID)NULLPTR) #define DebugPrint(Format, ...) ((VOID)NULL)
#endif #endif
#endif /* __XTDK_XTDEBUG_H */ #endif /* __XTDK_XTDEBUG_H */