]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/UefiCpuPkg.dec
UefiCpuPkg/PiSmmCpu: Fixed #double fault on #page fault.
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dec
index 542704be70c128a5f64f1f7b1f3ad1a90ee28c3d..ca560398bbeff4e66d51b2a916b70cc5c3d18fcc 100644 (file)
   # @Prompt Processor stack size in SMM.\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x2000|UINT32|0x32132105\r
 \r
-  ## Specifies timeout value in microseconds for the BSP in SMM to wait for all APs to come into SMM.\r
-  # @Prompt AP synchronization timeout value in SMM.\r
-  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0x32132104\r
-\r
   ## Indicates if SMM Code Access Check is enabled.\r
   #  If enabled, the SMM handler cannot execute the code outside SMM regions.\r
   #  This PCD is suggested to TRUE in production image.<BR><BR>\r
   # @Prompt SMM Code Access Check.\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmCodeAccessCheckEnable|TRUE|BOOLEAN|0x60000013\r
 \r
-  ## Indicates the CPU synchronization method used when processing an SMI.\r
-  #   0x00  - Traditional CPU synchronization method.<BR>\r
-  #   0x01  - Relaxed CPU synchronization method.<BR>\r
-  # @Prompt SMM CPU Synchronization Method.\r
-  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x00|UINT8|0x60000014\r
-\r
   ## Specifies the number of variable MTRRs reserved for OS use. The default number of\r
   #  MTRRs reserved for OS use is 2.\r
   # @Prompt Number of reserved variable MTRRs.\r
   # @Prompt The specified AP target C-state for Mwait.\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0|UINT8|0x00000007\r
 \r
+  ## Indicates if SMM uses static page table.\r
+  #  If enabled, SMM will not use on-demand paging. SMM will build static page table for all memory.<BR><BR>\r
+  #  This flag only impacts X64 build, because SMM alway builds static page table for IA32.\r
+  #   TRUE  - SMM uses static page table for all memory.<BR>\r
+  #   FALSE - SMM uses static page table for below 4G memory and use on-demand paging for above 4G memory.<BR>\r
+  # @Prompt Use static page table for all memory in SMM.\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStaticPageTable|TRUE|BOOLEAN|0x3213210D\r
+\r
+  ## Specifies timeout value in microseconds for the BSP in SMM to wait for all APs to come into SMM.\r
+  # @Prompt AP synchronization timeout value in SMM.\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0x32132104\r
+\r
+  ## Indicates the CPU synchronization method used when processing an SMI.\r
+  #   0x00  - Traditional CPU synchronization method.<BR>\r
+  #   0x01  - Relaxed CPU synchronization method.<BR>\r
+  # @Prompt SMM CPU Synchronization Method.\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x00|UINT8|0x60000014\r
+\r
 [PcdsDynamic, PcdsDynamicEx]\r
   ## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DATA.\r
   # @Prompt The pointer to a CPU S3 data buffer.\r