Use PcdCpuApInitTimeOutInMicroSeconds instead of hardcoded 100ms for
the time to wait for all APs to respond to first INIT SIPI SIPI
wake request.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18630
6f19259b-4bc3-4df7-8a09-
765794883524
{\r
SendInitSipiSipiAllExcludingSelf ((UINT32)(UINTN)(VOID*) StartupCode);\r
//\r
{\r
SendInitSipiSipiAllExcludingSelf ((UINT32)(UINTN)(VOID*) StartupCode);\r
//\r
- // Wait 100 milliseconds for APs to arrive at the ApEntryPoint routine\r
+ // Wait for APs to arrive at the ApEntryPoint routine\r
- MicroSecondDelay (100 * 1000);\r
+ MicroSecondDelay (PcdGet32 (PcdCpuApInitTimeOutInMicroSeconds));\r
\r
return EFI_SUCCESS;\r
}\r
\r
return EFI_SUCCESS;\r
}\r
gEfiSecPlatformInformationPpiGuid ## UNDEFINED # HOB\r
\r
[Pcd]\r
gEfiSecPlatformInformationPpiGuid ## UNDEFINED # HOB\r
\r
[Pcd]\r
- gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES\r
- gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize ## CONSUMES\r
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES\r
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize ## CONSUMES\r
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds ## CONSUMES\r