/* Check to see if the heap guard is enabled for page and/or pool allocation. */
BOOLEAN IsHeapGuardEnabled(UINT8 GuardType)
/* Check to see if the heap guard is enabled for page and/or pool allocation. */
BOOLEAN IsHeapGuardEnabled(UINT8 GuardType)
{
  return IsMemoryTypeToGuard (EfiMaxMemoryType, AllocateAnyPages, GuardType);
}