/* Worker function to execute a caller provided function on all enabled CPUs. */
VOID StartupAllCPUsWorker(IN EFI_AP_PROCEDURE Procedure)
/* Worker function to execute a caller provided function on all enabled CPUs. */
VOID StartupAllCPUsWorker(IN EFI_AP_PROCEDURE Procedure)
{
  EFI_STATUS                  Status;
  EDKII_PEI_MP_SERVICES2_PPI  *CpuMp2Ppi;
  CPU_FEATURES_DATA           *CpuFeaturesData;
  CpuFeaturesData = GetCpuFeaturesData ();
  CpuMp2Ppi = CpuFeaturesData->MpService.Ppi;
  Status    = CpuMp2Ppi->StartupAllCPUs (
                           CpuMp2Ppi,
                           Procedure,
                           0,
                           CpuFeaturesData
                           );
  ASSERT_EFI_ERROR (Status);
}