From 85363c1ee0b8502cd214a5d40171da14f909def0 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Wed, 5 Sep 2007 08:19:35 +0000 Subject: [PATCH] change the ExitBootService event to SetVirtualMapChanged event. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3777 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c | 8 ++++---- MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c index 1e07c54ece..d59e4715f0 100644 --- a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c +++ b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c @@ -24,9 +24,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "Fvb.h" // -// Event for Exit Boot Services Callback +// Event for Set Virtual Map Changed Event // -STATIC EFI_EVENT mExitBootServicesEvent = NULL; +STATIC EFI_EVENT mSetVirtualMapChangedEvent = NULL; // // Lib will ASSERT if more FVB devices than this are added to the system. @@ -312,11 +312,11 @@ FvbLibInitialize ( // Register SetVirtualAddressMap () notify function // Status = gBS->CreateEvent ( - EVT_SIGNAL_EXIT_BOOT_SERVICES, + EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE, TPL_NOTIFY, FvbVirtualAddressChangeNotifyEvent, NULL, - &mExitBootServicesEvent + &mSetVirtualMapChangedEvent ); ASSERT_EFI_ERROR (Status); diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c index d67c94ccd2..0c5d7697b4 100644 --- a/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c +++ b/MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c @@ -23,9 +23,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "Fvb.h" // -// Event for Exit Boot Services Callback +// Event for Set Virtual Map Changed Event // -STATIC EFI_EVENT mExitBootServicesEvent = NULL; +STATIC EFI_EVENT mSetVirtualMapChangedEvent = NULL; // // Lib will ASSERT if more FVB devices than this are added to the system. @@ -311,11 +311,11 @@ FvbLibInitialize ( // Register SetVirtualAddressMap () notify function // Status = gBS->CreateEvent ( - EVT_SIGNAL_EXIT_BOOT_SERVICES, + EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE, TPL_NOTIFY, FvbVirtualAddressChangeNotifyEvent, NULL, - &mExitBootServicesEvent + &mSetVirtualMapChangedEvent ); ASSERT_EFI_ERROR (Status);