PcdCpuSmmRestrictedMemoryAccess is introduced to replace
PcdCpuSmmStaticPageTable.
Signed-off-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
---
UefiCpuPkg/UefiCpuPkg.dec | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec
index 9a03bdd716..031a2ccd68 100644
--- a/UefiCpuPkg/UefiCpuPkg.dec
+++ b/UefiCpuPkg/UefiCpuPkg.dec
@@ -247,17 +247,6 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
# @Prompt The specified AP target C-state for Mwait.
gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0|UINT8|0x00000007
- ## Indicates if SMM uses static page table.
- # If enabled, SMM will not use on-demand paging. SMM will build static page table for all memory.
- # This flag only impacts X64 build, because SMM always builds static page table for IA32.
- # It could not be enabled at the same time with SMM profile feature (PcdCpuSmmProfileEnable).
- # It could not be enabled also at the same time with heap guard feature for SMM
- # (PcdHeapGuardPropertyMask in MdeModulePkg).<BR><BR>
- # TRUE - SMM uses static page table for all memory.<BR>
- # FALSE - SMM uses static page table for below 4G memory and use on-demand paging for above 4G memory.<BR>
- # @Prompt Use static page table for all memory in SMM.
- gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStaticPageTable|TRUE|BOOLEAN|0x3213210D
-
## Specifies timeout value in microseconds for the BSP in SMM to wait for all APs to come into SMM.
# @Prompt AP synchronization timeout value in SMM.
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0x32132104
--
2.21.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#46351): https://edk2.groups.io/g/devel/message/46351
Mute This Topic: https://groups.io/mt/33027105/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
On 08/26/19 00:45, Ni, Ray wrote: > PcdCpuSmmRestrictedMemoryAccess is introduced to replace > PcdCpuSmmStaticPageTable. > > Signed-off-by: Ray Ni <ray.ni@intel.com> > Cc: Eric Dong <eric.dong@intel.com> > Cc: Jiewen Yao <jiewen.yao@intel.com> > Cc: Laszlo Ersek <lersek@redhat.com> > --- > UefiCpuPkg/UefiCpuPkg.dec | 11 ----------- > 1 file changed, 11 deletions(-) > > diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec > index 9a03bdd716..031a2ccd68 100644 > --- a/UefiCpuPkg/UefiCpuPkg.dec > +++ b/UefiCpuPkg/UefiCpuPkg.dec > @@ -247,17 +247,6 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] > # @Prompt The specified AP target C-state for Mwait. > gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0|UINT8|0x00000007 > > - ## Indicates if SMM uses static page table. > - # If enabled, SMM will not use on-demand paging. SMM will build static page table for all memory. > - # This flag only impacts X64 build, because SMM always builds static page table for IA32. > - # It could not be enabled at the same time with SMM profile feature (PcdCpuSmmProfileEnable). > - # It could not be enabled also at the same time with heap guard feature for SMM > - # (PcdHeapGuardPropertyMask in MdeModulePkg).<BR><BR> > - # TRUE - SMM uses static page table for all memory.<BR> > - # FALSE - SMM uses static page table for below 4G memory and use on-demand paging for above 4G memory.<BR> > - # @Prompt Use static page table for all memory in SMM. > - gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStaticPageTable|TRUE|BOOLEAN|0x3213210D > - > ## Specifies timeout value in microseconds for the BSP in SMM to wait for all APs to come into SMM. > # @Prompt AP synchronization timeout value in SMM. > gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0x32132104 > Please update the UNI file as well. Reviewed-by: Laszlo Ersek <lersek@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#46364): https://edk2.groups.io/g/devel/message/46364 Mute This Topic: https://groups.io/mt/33027105/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Eric Dong <eric.dong@intel.com> > -----Original Message----- > From: Ni, Ray > Sent: Monday, August 26, 2019 6:45 AM > To: devel@edk2.groups.io > Cc: Dong, Eric <eric.dong@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; > Laszlo Ersek <lersek@redhat.com> > Subject: [PATCH 5/5] UefiCpuPkg: Remove PcdCpuSmmStaticPageTable > > PcdCpuSmmRestrictedMemoryAccess is introduced to replace > PcdCpuSmmStaticPageTable. > > Signed-off-by: Ray Ni <ray.ni@intel.com> > Cc: Eric Dong <eric.dong@intel.com> > Cc: Jiewen Yao <jiewen.yao@intel.com> > Cc: Laszlo Ersek <lersek@redhat.com> > --- > UefiCpuPkg/UefiCpuPkg.dec | 11 ----------- > 1 file changed, 11 deletions(-) > > diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index > 9a03bdd716..031a2ccd68 100644 > --- a/UefiCpuPkg/UefiCpuPkg.dec > +++ b/UefiCpuPkg/UefiCpuPkg.dec > @@ -247,17 +247,6 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, > PcdsDynamic, PcdsDynamicEx] > # @Prompt The specified AP target C-state for Mwait. > gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0|UINT8|0x00000007 > > - ## Indicates if SMM uses static page table. > - # If enabled, SMM will not use on-demand paging. SMM will build static page > table for all memory. > - # This flag only impacts X64 build, because SMM always builds static page > table for IA32. > - # It could not be enabled at the same time with SMM profile feature > (PcdCpuSmmProfileEnable). > - # It could not be enabled also at the same time with heap guard feature for > SMM > - # (PcdHeapGuardPropertyMask in MdeModulePkg).<BR><BR> > - # TRUE - SMM uses static page table for all memory.<BR> > - # FALSE - SMM uses static page table for below 4G memory and use on- > demand paging for above 4G memory.<BR> > - # @Prompt Use static page table for all memory in SMM. > - > gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStaticPageTable|TRUE|BOOLEAN|0 > x3213210D > - > ## Specifies timeout value in microseconds for the BSP in SMM to wait for all > APs to come into SMM. > # @Prompt AP synchronization timeout value in SMM. > > gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0 > x32132104 > -- > 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#46399): https://edk2.groups.io/g/devel/message/46399 Mute This Topic: https://groups.io/mt/33027105/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2026 Red Hat, Inc.