gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPoolType|0x0|UINT64|0x30001053\r
\r
## This mask is to control Heap Guard behavior.\r
- # Note that due to the limit of pool memory implementation and the alignment\r
- # requirement of UEFI spec, BIT7 is a try-best setting which cannot guarantee\r
- # that the returned pool is exactly adjacent to head guard page or tail guard\r
- # page.\r
+ #\r
+ # Note:\r
+ # a) Heap Guard is for debug purpose and should not be enabled in product\r
+ # BIOS.\r
+ # b) Due to the limit of pool memory implementation and the alignment\r
+ # requirement of UEFI spec, BIT7 is a try-best setting which cannot\r
+ # guarantee that the returned pool is exactly adjacent to head guard\r
+ # page or tail guard page.\r
+ # c) UEFI freed-memory guard and UEFI pool/page guard cannot be enabled\r
+ # at the same time.\r
+ #\r
# BIT0 - Enable UEFI page guard.<BR>\r
# BIT1 - Enable UEFI pool guard.<BR>\r
# BIT2 - Enable SMM page guard.<BR>\r
# BIT3 - Enable SMM pool guard.<BR>\r
+ # BIT4 - Enable UEFI freed-memory guard (Use-After-Free memory detection).<BR>\r
# BIT6 - Enable non-stop mode.<BR>\r
# BIT7 - The direction of Guard Page for Pool Guard.\r
# 0 - The returned pool is near the tail guard page.<BR>\r
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdHeapGuardPropertyMask_PROMPT #language en-US "The Heap Guard feature mask"\r
\r
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdHeapGuardPropertyMask_HELP #language en-US "This mask is to control Heap Guard behavior.\n"\r
- "Note that due to the limit of pool memory implementation and the alignment\n"\r
- "requirement of UEFI spec, BIT7 is a try-best setting which cannot guarantee\n"\r
- "that the returned pool is exactly adjacent to head guard page or tail guard\n"\r
- "page.\n"\r
+ " Note:\n"\r
+ " a) Heap Guard is for debug purpose and should not be enabled in product"\r
+ " BIOS.\n"\r
+ " b) Due to the limit of pool memory implementation and the alignment"\r
+ " requirement of UEFI spec, BIT7 is a try-best setting which cannot"\r
+ " guarantee that the returned pool is exactly adjacent to head guard"\r
+ " page or tail guard page.\n"\r
+ " c) UEFI freed-memory guard and UEFI pool/page guard cannot be enabled"\r
+ " at the same time.\n"\r
" BIT0 - Enable UEFI page guard.<BR>\n"\r
" BIT1 - Enable UEFI pool guard.<BR>\n"\r
" BIT2 - Enable SMM page guard.<BR>\n"\r
" BIT3 - Enable SMM pool guard.<BR>\n"\r
+ " BIT4 - Enable UEFI freed-memory guard (Use-After-Free memory detection).<BR>\n"\r
" BIT7 - The direction of Guard Page for Pool Guard.\n"\r
" 0 - The returned pool is near the tail guard page.<BR>\n"\r
" 1 - The returned pool is near the head guard page.<BR>"\r