diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-12-02 03:27:06 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-02 03:27:06 +0000 |
commit | 37c2cf4fb85f7c79a15fc860dc5366f562d5f305 (patch) | |
tree | dd3c32d7680aca48068da634977f5f21463c9f52 /UefiCpuPkg/CpuMpPei/CpuMpPei.c | |
parent | 9d564cd5229bd2cd370cce13093e0d8b60cc7003 (diff) | |
download | edk2-platforms-37c2cf4fb85f7c79a15fc860dc5366f562d5f305.tar.xz |
UefiCpuPkg/CpuMpPei: Fix typo and add some comments
(Sync patch r19090 from main trunk.)
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
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/branches/UDK2015@19096 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/CpuMpPei/CpuMpPei.c')
-rw-r--r-- | UefiCpuPkg/CpuMpPei/CpuMpPei.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b/UefiCpuPkg/CpuMpPei/CpuMpPei.c index ca48613502..ab1260d045 100644 --- a/UefiCpuPkg/CpuMpPei/CpuMpPei.c +++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.c @@ -212,7 +212,7 @@ RestoreVolatileRegisters ( This function will be called from AP reset code if BSP uses WakeUpAP.
@param ExchangeInfo Pointer to the MP exchange info buffer
- @param NumApsExecuting Number of curret executing AP
+ @param NumApsExecuting Number of current executing AP
**/
VOID
EFIAPI
@@ -268,6 +268,9 @@ ApCFunction ( (PeiCpuMpData->ApFunction != 0)) {
PeiCpuMpData->CpuData[ProcessorNumber].State = CpuStateBusy;
Procedure = (EFI_AP_PROCEDURE)(UINTN)PeiCpuMpData->ApFunction;
+ //
+ // Invoke AP function here
+ //
Procedure ((VOID *)(UINTN)PeiCpuMpData->ApFunctionArgument);
PeiCpuMpData->CpuData[ProcessorNumber].State = CpuStateIdle;
}
@@ -612,7 +615,7 @@ CpuMpEndOfPeiCallback ( EFI_PEI_HOB_POINTERS Hob;
EFI_HOB_MEMORY_ALLOCATION *MemoryHob;
- DEBUG ((EFI_D_INFO, "CpuMpPei: CpuMpEndOfPeiCallback () invokded\n"));
+ DEBUG ((EFI_D_INFO, "CpuMpPei: CpuMpEndOfPeiCallback () invoked\n"));
Status = PeiServicesGetBootMode (&BootMode);
ASSERT_EFI_ERROR (Status);
|