git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3777
6f19259b-4bc3-4df7-8a09-
765794883524
#include "Fvb.h"\r
\r
//\r
#include "Fvb.h"\r
\r
//\r
-// Event for Exit Boot Services Callback\r
+// Event for Set Virtual Map Changed Event\r
-STATIC EFI_EVENT mExitBootServicesEvent = NULL;\r
+STATIC EFI_EVENT mSetVirtualMapChangedEvent = NULL;\r
\r
//\r
// Lib will ASSERT if more FVB devices than this are added to the system.\r
\r
//\r
// Lib will ASSERT if more FVB devices than this are added to the system.\r
// Register SetVirtualAddressMap () notify function\r
//\r
Status = gBS->CreateEvent (\r
// Register SetVirtualAddressMap () notify function\r
//\r
Status = gBS->CreateEvent (\r
- EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
+ EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
TPL_NOTIFY,\r
FvbVirtualAddressChangeNotifyEvent,\r
NULL,\r
TPL_NOTIFY,\r
FvbVirtualAddressChangeNotifyEvent,\r
NULL,\r
- &mExitBootServicesEvent\r
+ &mSetVirtualMapChangedEvent\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
#include "Fvb.h"\r
\r
//\r
#include "Fvb.h"\r
\r
//\r
-// Event for Exit Boot Services Callback\r
+// Event for Set Virtual Map Changed Event\r
-STATIC EFI_EVENT mExitBootServicesEvent = NULL;\r
+STATIC EFI_EVENT mSetVirtualMapChangedEvent = NULL;\r
\r
//\r
// Lib will ASSERT if more FVB devices than this are added to the system.\r
\r
//\r
// Lib will ASSERT if more FVB devices than this are added to the system.\r
// Register SetVirtualAddressMap () notify function\r
//\r
Status = gBS->CreateEvent (\r
// Register SetVirtualAddressMap () notify function\r
//\r
Status = gBS->CreateEvent (\r
- EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
+ EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
TPL_NOTIFY,\r
FvbVirtualAddressChangeNotifyEvent,\r
NULL,\r
TPL_NOTIFY,\r
FvbVirtualAddressChangeNotifyEvent,\r
NULL,\r
- &mExitBootServicesEvent\r
+ &mSetVirtualMapChangedEvent\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r