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:
jchen20
2006-09-13 02:22:42 +00:00
parent 93f5dd0a0e
commit 905dd497d2
3 changed files with 126 additions and 0 deletions

View File

@@ -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 ----
//