mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added HalpGetIsaInterruptVector.
svn path=/trunk/; revision=3846
This commit is contained in:
parent
167268f4b3
commit
24941bbcb3
3 changed files with 24 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: bus.c,v 1.4 2002/10/02 19:32:57 ekohl Exp $
|
/* $Id: bus.c,v 1.5 2002/12/09 19:44:44 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -170,6 +170,8 @@ HalpInitBusHandlers(VOID)
|
||||||
if (BusHandler == NULL)
|
if (BusHandler == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
BusHandler->GetInterruptVector =
|
||||||
|
(pGetInterruptVector)HalpGetIsaInterruptVector;
|
||||||
BusHandler->TranslateBusAddress =
|
BusHandler->TranslateBusAddress =
|
||||||
(pTranslateBusAddress)HalpTranslateIsaBusAddress;
|
(pTranslateBusAddress)HalpTranslateIsaBusAddress;
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,14 @@ HalpTranslateSystemBusAddress(PBUS_HANDLER BusHandler,
|
||||||
PPHYSICAL_ADDRESS TranslatedAddress);
|
PPHYSICAL_ADDRESS TranslatedAddress);
|
||||||
|
|
||||||
/* isa.c */
|
/* isa.c */
|
||||||
|
ULONG STDCALL
|
||||||
|
HalpGetIsaInterruptVector(PVOID BusHandler,
|
||||||
|
ULONG BusNumber,
|
||||||
|
ULONG BusInterruptLevel,
|
||||||
|
ULONG BusInterruptVector,
|
||||||
|
PKIRQL Irql,
|
||||||
|
PKAFFINITY Affinity);
|
||||||
|
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
|
HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
|
||||||
ULONG BusNumber,
|
ULONG BusNumber,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: isa.c,v 1.3 2002/09/08 10:22:24 chorns Exp $
|
/* $Id: isa.c,v 1.4 2002/12/09 19:44:44 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -59,4 +59,16 @@ HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ULONG STDCALL
|
||||||
|
HalpGetIsaInterruptVector(PVOID BusHandler,
|
||||||
|
ULONG BusNumber,
|
||||||
|
ULONG BusInterruptLevel,
|
||||||
|
ULONG BusInterruptVector,
|
||||||
|
PKIRQL Irql,
|
||||||
|
PKAFFINITY Affinity)
|
||||||
|
{
|
||||||
|
*Irql = PROFILE_LEVEL - BusInterruptVector;
|
||||||
|
*Affinity = 0xFFFFFFFF;
|
||||||
|
return BusInterruptVector;
|
||||||
|
}
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue