* [PATCH] MdeModulePkg/MdeModulePkg.dec: clarify Heap Guard usage
@ 2018-01-02 8:26 Jian J Wang
2018-01-02 8:35 ` Zeng, Star
0 siblings, 1 reply; 2+ messages in thread
From: Jian J Wang @ 2018-01-02 8:26 UTC (permalink / raw)
To: edk2-devel; +Cc: Star Zeng, Eric Dong
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>
---
MdeModulePkg/MdeModulePkg.dec | 12 ++++++++++++
1 file changed, 12 insertions(+)
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>
--
2.15.1.windows.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MdeModulePkg/MdeModulePkg.dec: clarify Heap Guard usage
2018-01-02 8:26 [PATCH] MdeModulePkg/MdeModulePkg.dec: clarify Heap Guard usage Jian J Wang
@ 2018-01-02 8:35 ` Zeng, Star
0 siblings, 0 replies; 2+ messages in thread
From: Zeng, Star @ 2018-01-02 8:35 UTC (permalink / raw)
To: Wang, Jian J, edk2-devel@lists.01.org; +Cc: Dong, Eric, Zeng, Star
Reviewed-by: Star Zeng <star.zeng@intel.com> after you also update the MdeModulePkg.uni accordingly.
Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jian J Wang
Sent: Tuesday, January 2, 2018 4:27 PM
To: edk2-devel@lists.01.org
Cc: Dong, Eric <eric.dong@intel.com>; Zeng, Star <star.zeng@intel.com>
Subject: [edk2] [PATCH] 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>
---
MdeModulePkg/MdeModulePkg.dec | 12 ++++++++++++
1 file changed, 12 insertions(+)
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>
--
2.15.1.windows.2
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-02 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-02 8:26 [PATCH] MdeModulePkg/MdeModulePkg.dec: clarify Heap Guard usage Jian J Wang
2018-01-02 8:35 ` Zeng, Star
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox