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 <[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]> --- UefiCpuPkg/UefiCpuPkg.dec | 8 ++++++++ UefiCpuPkg/UefiCpuPkg.uni | Bin 22498 -> 22980 bytes 2 files changed, 8 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index a694146..0d42918 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -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. diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index 4011cfd1816b133ea82e64335f35332c2fc7e656..b4c5376ca8c14132dcd12c30f0c1499599195d48 100644 GIT binary patch delta 178 zcmaE~p7F?L#to0cCm)cA;C5svVDMqc2f~8MhQ79w*93AXJ2C_?C@_>WBr;?&lmJ;d z5P2Z07|2fq;?&8G{OSBqeGI-p`4pg-VYqJy5qg2<q%f2+6ah`oV@L<`0vP-mf*C@9 XtOAA%p!vlNsSJ7yN({UVTwn|Ux)~-4 delta 9 QcmX@Ineowj#to0c0U2@x^Z)<= -- 1.9.5.msysgit.0 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

