use the GUIDed versions of events: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7424 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -730,11 +730,12 @@ IDEBusDriverBindingStart (
|
||||
//
|
||||
// Create event to clear pending IDE interrupt
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EVT_SIGNAL_EXIT_BOOT_SERVICES,
|
||||
Status = gBS->CreateEventEx (
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
ClearInterrupt,
|
||||
IdeBlkIoDevicePtr,
|
||||
&gEfiEventExitBootServicesGuid,
|
||||
&IdeBlkIoDevicePtr->ExitBootServiceEvent
|
||||
);
|
||||
|
||||
|
@@ -37,6 +37,8 @@
|
||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||
#include <Library/DevicePathLib.h>
|
||||
|
||||
#include <Guid/EventGroup.h>
|
||||
|
||||
#include <IndustryStandard/Pci22.h>
|
||||
#include "IdeData.h"
|
||||
|
||||
|
@@ -74,6 +74,7 @@
|
||||
|
||||
[Guids]
|
||||
gEfiDiskInfoIdeInterfaceGuid # SOMETIMES_CONSUMED
|
||||
gEfiEventExitBootServicesGuid
|
||||
|
||||
|
||||
[Protocols]
|
||||
|
Reference in New Issue
Block a user