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
This commit is contained in:
qwang12 2007-09-05 08:19:35 +00:00
parent 1f4cf7b1ba
commit 85363c1ee0
2 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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);