diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-12-02 00:44:05 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-02 00:44:05 +0000 |
commit | c972495ed0a939ed30f5ab5fa14f215b8bbe5ed1 (patch) | |
tree | a37051a5e014285ae917e3b5932eed127d6730f9 /UefiCpuPkg | |
parent | f40a7de45070dfa193e47ed0031cc07c275287b3 (diff) | |
download | edk2-c972495ed0a939ed30f5ab5fa14f215b8bbe5ed1.zip edk2-c972495ed0a939ed30f5ab5fa14f215b8bbe5ed1.tar.gz edk2-c972495ed0a939ed30f5ab5fa14f215b8bbe5ed1.tar.bz2 |
UefiCpuPkg/CpuMpPei: Fix typo and add some comments
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/trunk/edk2@19090 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg')
-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 ca48613..ab1260d 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);
|