diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-05 08:19:35 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-05 08:19:35 +0000 |
commit | 85363c1ee0b8502cd214a5d40171da14f909def0 (patch) | |
tree | d3477ec42859a9170283aeea9dba32c281121600 /MdeModulePkg | |
parent | 1f4cf7b1ba400fa6b4ee29f9367312ac977ffe2d (diff) | |
download | edk2-85363c1ee0b8502cd214a5d40171da14f909def0.zip edk2-85363c1ee0b8502cd214a5d40171da14f909def0.tar.gz edk2-85363c1ee0b8502cd214a5d40171da14f909def0.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c | 8 | ||||
-rw-r--r-- | 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 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);
|