return Status;\r
}\r
\r
- return SystemTable->BootServices->CreateEventEx (EVT_NOTIFY_SIGNAL,\r
+ return SystemTable->BootServices->CreateEvent (EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
TPL_NOTIFY, ExitBootServicesEvent, NULL,\r
- &gEfiEventExitBootServicesGuid,\r
&mEfiExitBootServicesEvent);\r
}\r
\r
PrintLib\r
SerialPortLib\r
\r
-[Guids]\r
- gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
-\r
[Pcd]\r
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES\r
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES\r
\r
[Pcd]\r
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress ## CONSUMES\r
-\r
-[Guids]\r
- gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
-\r
//\r
// Register SetVirtualAddressMap () notify function\r
//\r
- Status = gBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ Status = gBS->CreateEvent (\r
+ EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
TPL_NOTIFY,\r
DxeRuntimePciExpressLibVirtualNotify,\r
NULL,\r
- &gEfiEventVirtualAddressChangeGuid,\r
&mDxeRuntimePciExpressLibVirtualNotifyEvent\r
);\r
ASSERT_EFI_ERROR (Status);\r
//\r
// Register SetVirtualAddressMap () notify function\r
//\r
- Status = gBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ Status = gBS->CreateEvent (\r
+ EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
TPL_NOTIFY,\r
DxeRuntimePciSegmentLibVirtualNotify,\r
NULL,\r
- &gEfiEventVirtualAddressChangeGuid,\r
&mDxeRuntimePciSegmentLibVirtualNotifyEvent\r
);\r
ASSERT_EFI_ERROR (Status);\r
MemoryAllocationLib\r
DxeServicesTableLib\r
UefiBootServicesTableLib\r
-\r
-[Guids]\r
- gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
{\r
mDebugST = SystemTable;\r
\r
- SystemTable->BootServices->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ SystemTable->BootServices->CreateEvent (\r
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
TPL_NOTIFY,\r
ExitBootServicesCallback,\r
NULL,\r
- &gEfiEventExitBootServicesGuid,\r
&mExitBootServicesEvent\r
);\r
\r
PrintLib\r
DebugPrintErrorLevelLib\r
\r
-[Guids]\r
- gEfiEventExitBootServicesGuid ## CONSUMES\r
-\r
[Pcd]\r
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES\r
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES\r
{\r
mDebugBS = SystemTable->BootServices;\r
\r
- mDebugBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ mDebugBS->CreateEvent (\r
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
TPL_NOTIFY,\r
ExitBootServicesCallback,\r
NULL,\r
- &gEfiEventExitBootServicesGuid,\r
&mExitBootServicesEvent\r
);\r
\r
PrintLib\r
DebugPrintErrorLevelLib\r
\r
-[Guids]\r
- gEfiEventExitBootServicesGuid ## CONSUMES\r
-\r
[Protocols]\r
gEfiDebugPortProtocolGuid ## CONSUMES\r
\r
{\r
mDebugST = SystemTable;\r
\r
- SystemTable->BootServices->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ SystemTable->BootServices->CreateEvent (\r
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
TPL_NOTIFY,\r
ExitBootServicesCallback,\r
NULL,\r
- &gEfiEventExitBootServicesGuid,\r
&mExitBootServicesEvent\r
);\r
\r
PrintLib\r
DebugPrintErrorLevelLib\r
\r
-[Guids]\r
- gEfiEventExitBootServicesGuid ## CONSUMES\r
-\r
[Pcd]\r
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES\r
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES\r
//\r
// Register SetVirtualAddressMap () notify function\r
//\r
- Status = gBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ Status = gBS->CreateEvent (\r
+ EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,\r
TPL_NOTIFY,\r
RuntimeLibVirtualNotifyEvent,\r
NULL,\r
- &gEfiEventVirtualAddressChangeGuid,\r
&mEfiVirtualNotifyEvent\r
);\r
\r
ASSERT_EFI_ERROR (Status);\r
\r
- Status = gBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
+ Status = gBS->CreateEvent (\r
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
TPL_NOTIFY,\r
RuntimeLibExitBootServicesEvent,\r
NULL,\r
- &gEfiEventExitBootServicesGuid,\r
&mEfiExitBootServicesEvent\r
);\r
\r
UefiBootServicesTableLib\r
UefiRuntimeServicesTableLib\r
DebugLib\r
-\r
-[Guids]\r
- gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
- gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
-\r