]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/MdePkg.dec
MdePkg: Add PcdSpeculationBarrierType
[mirror_edk2.git] / MdePkg / MdePkg.dec
index e2ea8fff669953aa399fc4cdbd5ccf256c66ed13..28d4a966c27ce51719c99385eafd7ce7f144afef 100644 (file)
   # @Prompt Enable control flow enforcement.\r
   gEfiMdePkgTokenSpaceGuid.PcdControlFlowEnforcementPropertyMask|0x0|UINT32|0x30001017\r
 \r
+  ## Indicates the type of instruction sequence to use for a speculation\r
+  #  barrier.  The default instruction sequence is LFENCE.<BR><BR>\r
+  #   0x00 - No operation.<BR>\r
+  #   0x01 - LFENCE (IA32/X64).<BR>\r
+  #   0x02 - CPUID  (IA32/X64).<BR>\r
+  #   Other - reserved\r
+  # @Prompt Speculation Barrier Type.\r
+  gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x01|UINT8|0x30001018\r
+\r
 [PcdsFixedAtBuild,PcdsPatchableInModule]\r
   ## Indicates the maximum length of unicode string used in the following\r
   #  BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>\r