Modify for enabling native VISTA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1520 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -183,6 +183,7 @@ IDEBusDriverBindingStart (
|
||||
UINTN DataSize;
|
||||
UINT32 Attributes;
|
||||
IDE_BUS_DRIVER_PRIVATE_DATA *IdeBusDriverPrivateData;
|
||||
EFI_EVENT Event;
|
||||
|
||||
//
|
||||
// Local variables declaration for IdeControllerInit support
|
||||
@@ -696,6 +697,19 @@ IDEBusDriverBindingStart (
|
||||
(EFI_IO_BUS_ATA_ATAPI | EFI_P_PC_ENABLE),
|
||||
IdeBlkIoDevicePtr->DevicePath
|
||||
);
|
||||
|
||||
//
|
||||
// Create event to clear pending IDE interrupt
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,
|
||||
EFI_TPL_NOTIFY,
|
||||
ClearInterrupt,
|
||||
IdeBlkIoDevicePtr,
|
||||
&Event
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// end of 2nd inner loop ----
|
||||
//
|
||||
|
Reference in New Issue
Block a user