diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-11-11 19:48:09 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-11-14 09:56:26 +0800 |
commit | 86af2eb8b4ec03e59c8c26cf7d51d294a7f905e7 (patch) | |
tree | 595dc0a2c885f39515035c05bb1d0cd950500afa | |
parent | ffd6b0b1b65e620816fb16fe551f92309f4b7269 (diff) | |
download | edk2-86af2eb8b4ec03e59c8c26cf7d51d294a7f905e7.tar.gz edk2-86af2eb8b4ec03e59c8c26cf7d51d294a7f905e7.tar.bz2 edk2-86af2eb8b4ec03e59c8c26cf7d51d294a7f905e7.zip |
UefiCpuPkg/DxeMpLib: Rename MpInitExitBootServicesCallback()
Rename MpInitExitBootServicesCallback() to MpInitChangeApLoopCallback() because
it will not only be invoked on Exit Boot Service Event, but also will be invoked
on Legacy Ready To Boot Event.
https://bugzilla.tianocore.org/show_bug.cgi?id=210
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael D 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>
-rw-r--r-- | UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c index 19fc2725ac..8be0bb885b 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c @@ -261,7 +261,7 @@ RelocateApLoop ( **/
VOID
EFIAPI
-MpInitExitBootServicesCallback (
+MpInitChangeApLoopCallback (
IN EFI_EVENT Event,
IN VOID *Context
)
@@ -273,7 +273,7 @@ MpInitExitBootServicesCallback ( CpuMpData->PmCodeSegment = GetProtectedModeCS ();
CpuMpData->ApLoopMode = PcdGet8 (PcdCpuApLoopMode);
WakeUpAP (CpuMpData, TRUE, 0, RelocateApLoop, mReservedApLoopFunc);
- DEBUG ((DEBUG_INFO, "MpInitExitBootServicesCallback() done!\n"));
+ DEBUG ((DEBUG_INFO, "%a() done!\n", __FUNCTION__));
}
/**
@@ -343,7 +343,7 @@ InitMpGlobalData ( Status = gBS->CreateEvent (
EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_CALLBACK,
- MpInitExitBootServicesCallback,
+ MpInitChangeApLoopCallback,
NULL,
&mMpInitExitBootServicesEvent
);
|