summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r--MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c8
-rw-r--r--MdeModulePkg/Library/EdkFvbServiceLib/X64/Fvb.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
index 1e07c54..d59e471 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 d67c94c..0c5d769 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);