return Status;\r
}\r
\r
+/**\r
+ Internal function. Used by the pool functions to allocate pages\r
+ to back pool allocation requests.\r
+\r
+ @param PoolType The type of memory for the new pool pages\r
+ @param NoPages No of pages to allocate\r
+ @param Granularity Bits to align.\r
+\r
+ @return The allocated memory, or NULL\r
+\r
+**/\r
STATIC\r
VOID *\r
CoreAllocatePoolPagesI (\r
return Status;\r
}\r
\r
+/**\r
+ Internal function. Frees pool pages allocated via CoreAllocatePoolPagesI().\r
+\r
+ @param PoolType The type of memory for the pool pages\r
+ @param Memory The base address to free\r
+ @param NoPages The number of pages to free\r
+\r
+**/\r
STATIC\r
VOID\r
CoreFreePoolPagesI (\r
/**\r
Return the EFI memory permission attribute associated with memory\r
type 'MemoryType' under the configured DXE memory protection policy.\r
+\r
+ @param MemoryType Memory type.\r
**/\r
STATIC\r
UINT64\r
\r
/**\r
Remove exec permissions from all regions whose type is identified by\r
- PcdDxeNxMemoryProtectionPolicy\r
+ PcdDxeNxMemoryProtectionPolicy.\r
**/\r
STATIC\r
VOID\r
}\r
\r
/**\r
- Returns whether we are currently executing in SMM mode\r
+ Returns whether we are currently executing in SMM mode.\r
**/\r
STATIC\r
BOOLEAN\r