mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1538 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
66ce26dad5
commit
33dc2c50a1
@ -1775,10 +1775,10 @@ EnableInterrupt (
|
|||||||
@param[in] Event Pointer to this event
|
@param[in] Event Pointer to this event
|
||||||
@param[in] Context Event hanlder private data
|
@param[in] Context Event hanlder private data
|
||||||
|
|
||||||
@retval EFI_SUCCESS - Interrupt cleared
|
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
VOID
|
||||||
|
EFIAPI
|
||||||
ClearInterrupt (
|
ClearInterrupt (
|
||||||
IN EFI_EVENT Event,
|
IN EFI_EVENT Event,
|
||||||
IN VOID *Context
|
IN VOID *Context
|
||||||
@ -1799,7 +1799,7 @@ ClearInterrupt (
|
|||||||
//
|
//
|
||||||
Status = ReassignIdeResources (IdeDev);
|
Status = ReassignIdeResources (IdeDev);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1812,7 +1812,7 @@ ClearInterrupt (
|
|||||||
//
|
//
|
||||||
AtaSoftReset (IdeDev);
|
AtaSoftReset (IdeDev);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1824,7 +1824,7 @@ ClearInterrupt (
|
|||||||
if (IdeSecondary == IdeDev->Channel) {
|
if (IdeSecondary == IdeDev->Channel) {
|
||||||
IoPortForBmis = IdeDev->IoPort->BusMasterBaseAddr + BMISS_OFFSET;
|
IoPortForBmis = IdeDev->IoPort->BusMasterBaseAddr + BMISS_OFFSET;
|
||||||
} else {
|
} else {
|
||||||
return EFI_UNSUPPORTED;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
@ -1864,5 +1864,4 @@ ClearInterrupt (
|
|||||||
RegisterValue
|
RegisterValue
|
||||||
);
|
);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user