Revision: 19358
http://sourceforge.net/p/edk2/code/19358
Author: vanjeff
Date: 2015-12-18 05:47:12 +0000 (Fri, 18 Dec 2015)
Log Message:
-----------
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.
(Sync patch r19341 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Cc: Feng Tian <[email protected]>
Cc: Michael Kinney <[email protected]>
Cc: Jordan Justen <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
Tested-by: Michael Kinney <[email protected]>
Reviewed-by: Michael Kinney <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/19341
Modified Paths:
--------------
branches/UDK2015/UefiCpuPkg/UefiCpuPkg.dec
branches/UDK2015/UefiCpuPkg/UefiCpuPkg.uni
Modified: branches/UDK2015/UefiCpuPkg/UefiCpuPkg.dec
===================================================================
--- branches/UDK2015/UefiCpuPkg/UefiCpuPkg.dec 2015-12-18 05:46:37 UTC (rev
19357)
+++ branches/UDK2015/UefiCpuPkg/UefiCpuPkg.dec 2015-12-18 05:47:12 UTC (rev
19358)
@@ -182,6 +182,14 @@
## Specifies the size of the microcode Region.
# @Prompt Microcode Region size.
gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0|UINT64|0x00000006
+ ## Specifies the AP wait loop state during POST phase.
+ # The value is defined as below.<BR><BR>
+ # 1: Place AP in the Hlt-Loop state.<BR>
+ # 2: Place AP in the Mwait-Loop state.<BR>
+ # 3: Place AP in the Run-Loop state.<BR>
+ # @Prompt The AP wait loop state.
+ # @ValidRange 0x80000001 | 1 - 3
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|1|UINT8|0x60008006
[PcdsDynamic, PcdsDynamicEx]
## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DATA.
Modified: branches/UDK2015/UefiCpuPkg/UefiCpuPkg.uni
===================================================================
--- branches/UDK2015/UefiCpuPkg/UefiCpuPkg.uni 2015-12-18 05:46:37 UTC (rev
19357)
+++ branches/UDK2015/UefiCpuPkg/UefiCpuPkg.uni 2015-12-18 05:47:12 UTC (rev
19358)
@@ -280,4 +280,12 @@
++++ \ No newline at end of file
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits