diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-12-18 03:23:27 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-18 03:23:27 +0000 |
commit | 54a3e8c9f57935ea95b9b255cb1ca59bbc03e6ea (patch) | |
tree | 9e349475b0eb21d13336c4f270569a4af911b406 /UefiCpuPkg/UefiCpuPkg.uni | |
parent | d603b1151c3b6d6961c65693063f16bb71a3c91c (diff) | |
download | edk2-54a3e8c9f57935ea95b9b255cb1ca59bbc03e6ea.tar.gz |
UefiCpuPkg: Add PCD PcdCpuApLoopMode
This new PCD is used to specify the AP loop mode during POST phase.
The value 1 means we will place AP in the Hlt-Loop state by HLT instruction.
BSP need to send INIT-SIPI-SIPI to wake up APs.
The value 2 means we will place AP in the deepest C-state by MWAIT instruction.
BSP need to modify the monitor buffer by MONITOR instruction to wake up APs.
The value 3 means we will place AP in the Run-loop state. APs are running.
BSP need to write one semaphore to wake up APs.
Contributed-under: TianoCore Contribution Agreement 1.0
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Tested-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19341 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/UefiCpuPkg.uni')
-rw-r--r-- | UefiCpuPkg/UefiCpuPkg.uni | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index fd1e81226a..2c74a92e06 100644 --- a/UefiCpuPkg/UefiCpuPkg.uni +++ b/UefiCpuPkg/UefiCpuPkg.uni @@ -139,3 +139,7 @@ #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuNumberOfReservedVariableMtrrs_HELP #language en-US "Specifies the number of variable MTRRs reserved for OS use."
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuApLoopMode_PROMPT #language en-US "The AP wait loop state"
+
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuApLoopMode_HELP #language en-US "Specifies the AP wait loop state during POST phase."
+
|