// Put driver-specific actions here.
// No UEFI Memory Service may be used directly or indirectly.
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
EFI_EVENT ExitBootServicesEvent;
// TODO: Other initialization of entry point can be added here.
// Here is just the sample of registration of
// EVT_SIGNAL_EXIT_BOOT_SERVICES
Status = gBS->CreateEventEx (
NULL, // Parameter Context can be passed here
&gEfiEventExitBootServicesGuid,
ASSERT_EFI_STATUS (Status);