]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: PcdSetNxForStack: enable dynamism
authorLaszlo Ersek <lersek@redhat.com>
Tue, 15 Sep 2015 08:34:57 +0000 (08:34 +0000)
committerlersek <lersek@Edk2>
Tue, 15 Sep 2015 08:34:57 +0000 (08:34 +0000)
Allow platforms to instantiate this PCD as PcdsDynamic and PcdsDynamicEx
too, not just PcdsFixedAtBuild and PcdsPatchableInModule.

Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18468 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/MdeModulePkg.dec

index 24d13f4e3916cd3d2bfbae9d0c5b10430fd7eef3..3dfcd6a77f6465040150e4ac21cd6df2961ee785 100644 (file)
   # @Prompt Serial Port Register Stride in Bytes\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1|UINT32|0x0001006d\r
 \r
   # @Prompt Serial Port Register Stride in Bytes\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1|UINT32|0x0001006d\r
 \r
-  ## Indicates if to set NX for stack.<BR><BR>\r
-  #  For the DxeIpl and the DxeCore are both X64, set NX for stack feature also require PcdDxeIplBuildPageTables be TRUE.<BR>\r
-  #  For the DxeIpl and the DxeCore are both IA32 (PcdDxeIplSwitchToLongMode is FALSE), set NX for stack feature also require\r
-  #  IA32 PAE is supported and Execute Disable Bit is available.<BR>\r
-  #   TRUE  - to set NX for stack.<BR>\r
-  #   FALSE - Not to set NX for stack.<BR>\r
-  # @Prompt Set NX for stack.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE|BOOLEAN|0x0001006f\r
-\r
   ## This PCD to include the driver guid of VFR drivers for VarCheckHiiBin generation.<BR><BR>\r
   # Default is gZeroGuid that means no VFR driver will be parsed for VarCheckHiiBin generation.<BR>\r
   # If it is set to an all FFs GUID, it means all modules in all FVs will be parsed for VarCheckHiiBin generation.<BR>\r
   ## This PCD to include the driver guid of VFR drivers for VarCheckHiiBin generation.<BR><BR>\r
   # Default is gZeroGuid that means no VFR driver will be parsed for VarCheckHiiBin generation.<BR>\r
   # If it is set to an all FFs GUID, it means all modules in all FVs will be parsed for VarCheckHiiBin generation.<BR>\r
   # @Prompt Default Creator Revision for ACPI table creation.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision|0x01000013|UINT32|0x30001038\r
 \r
   # @Prompt Default Creator Revision for ACPI table creation.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision|0x01000013|UINT32|0x30001038\r
 \r
+  ## Indicates if to set NX for stack.<BR><BR>\r
+  #  For the DxeIpl and the DxeCore are both X64, set NX for stack feature also require PcdDxeIplBuildPageTables be TRUE.<BR>\r
+  #  For the DxeIpl and the DxeCore are both IA32 (PcdDxeIplSwitchToLongMode is FALSE), set NX for stack feature also require\r
+  #  IA32 PAE is supported and Execute Disable Bit is available.<BR>\r
+  #   TRUE  - to set NX for stack.<BR>\r
+  #   FALSE - Not to set NX for stack.<BR>\r
+  # @Prompt Set NX for stack.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE|BOOLEAN|0x0001006f\r
+\r
 [PcdsPatchableInModule]\r
   ## Specify memory size with page number for PEI code when\r
   #  Loading Module at Fixed Address feature is enabled.\r
 [PcdsPatchableInModule]\r
   ## Specify memory size with page number for PEI code when\r
   #  Loading Module at Fixed Address feature is enabled.\r