summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2017-12-29 17:14:07 +0800
committerStar Zeng <star.zeng@intel.com>2018-01-10 09:52:38 +0800
commitb6ad4675b69660dfc7c8ca0d700ee62487bdb7a3 (patch)
tree3bf8920054eec5101c54c216863f383119ab9626 /MdeModulePkg
parenta37c60b660e7de30a36f63a07a8149ac2fa30277 (diff)
downloadedk2-b6ad4675b69660dfc7c8ca0d700ee62487bdb7a3.tar.gz
edk2-b6ad4675b69660dfc7c8ca0d700ee62487bdb7a3.tar.bz2
edk2-b6ad4675b69660dfc7c8ca0d700ee62487bdb7a3.zip
MdeModulePkg/MdeModulePkg.dec: clarify Heap Guard usage
Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/MdeModulePkg.dec12
1 files changed, 12 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 037b16e2d0..491fb27663 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -893,6 +893,12 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack|0x5AA55AA5|UINT32|0x30001051
## Indicates which type allocation need guard page.
+ #
+ # If a bit is set, a head guard page and a tail guard page will be added just
+ # before and after corresponding type of pages allocated if there's enough
+ # free pages for all of them. The page allocation for the type related to
+ # cleared bits keeps the same as ususal.
+ #
# Below is bit mask for this PCD: (Order is same as UEFI spec)<BR>
# EfiReservedMemoryType 0x0000000000000001<BR>
# EfiLoaderCode 0x0000000000000002<BR>
@@ -916,6 +922,12 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPageType|0x0|UINT64|0x30001052
## Indicates which type allocation need guard page.
+ #
+ # If a bit is set, a head guard page and a tail guard page will be added just
+ # before and after corresponding type of pages which the allocated pool occupies,
+ # if there's enough free memory for all of them. The pool allocation for the
+ # type related to cleared bits keeps the same as ususal.
+ #
# Below is bit mask for this PCD: (Order is same as UEFI spec)<BR>
# EfiReservedMemoryType 0x0000000000000001<BR>
# EfiLoaderCode 0x0000000000000002<BR>