//\r
// Memory type to guard (matching the related PCD definition)\r
//\r
-#define GUARD_HEAP_TYPE_POOL BIT0\r
-#define GUARD_HEAP_TYPE_PAGE BIT1\r
+#define GUARD_HEAP_TYPE_PAGE BIT0\r
+#define GUARD_HEAP_TYPE_POOL BIT1\r
\r
//\r
// Debug message level\r
IN EFI_PHYSICAL_ADDRESS Memory\r
);\r
\r
+/**\r
+ Check to see if the heap guard is enabled for page and/or pool allocation.\r
+\r
+ @return TRUE/FALSE.\r
+**/\r
+BOOLEAN\r
+IsHeapGuardEnabled (\r
+ VOID\r
+ );\r
+\r
+/**\r
+ Notify function used to set all Guard pages after CPU Arch Protocol installed.\r
+**/\r
+VOID\r
+HeapGuardCpuArchProtocolNotify (\r
+ VOID\r
+ );\r
+\r
extern BOOLEAN mOnGuarding;\r
\r
#endif\r