-/* $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
* PROJECT: ReactOS kernel
if (BusHandler == NULL)
return;
+ BusHandler->GetInterruptVector =
+ (pGetInterruptVector)HalpGetIsaInterruptVector;
BusHandler->TranslateBusAddress =
(pTranslateBusAddress)HalpTranslateIsaBusAddress;
PPHYSICAL_ADDRESS TranslatedAddress);
/* isa.c */
+ULONG STDCALL
+HalpGetIsaInterruptVector(PVOID BusHandler,
+ ULONG BusNumber,
+ ULONG BusInterruptLevel,
+ ULONG BusInterruptVector,
+ PKIRQL Irql,
+ PKAFFINITY Affinity);
+
BOOLEAN STDCALL
HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
ULONG BusNumber,
-/* $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
* PROJECT: ReactOS kernel
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 */