]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuDxe/ApStartup.c
UefiCpuPkg: CpuDxe: Use PCD for AP detection timeout
[mirror_edk2.git] / UefiCpuPkg / CpuDxe / ApStartup.c
index 38a9c0e6ea277639cc40e88b833a9602bdf5cb26..78fb26f9856abc9a468de88d9da1f28b81c7c6a4 100644 (file)
@@ -452,9 +452,9 @@ StartApsStackless (
 {\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
   //\r
-  MicroSecondDelay (100 * 1000);\r
+  MicroSecondDelay (PcdGet32 (PcdCpuApInitTimeOutInMicroSeconds));\r
 \r
   return EFI_SUCCESS;\r
 }\r