UefiCpuPkg/CpuMpPei: Check Function pointer in PeiStartupAllAPs ()

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18373 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jeff Fan 2015-09-01 08:55:49 +00:00 committed by vanjeff
parent 44d2ec14d8
commit f1c97bb3f4
1 changed files with 4 additions and 0 deletions

View File

@ -441,6 +441,10 @@ PeiStartupAllAPs (
return EFI_NOT_FOUND; return EFI_NOT_FOUND;
} }
if (Procedure == NULL) {
return EFI_INVALID_PARAMETER;
}
// //
// Check whether caller processor is BSP // Check whether caller processor is BSP
// //