3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/hal/isa.c
6 * PURPOSE: Interfaces to the ISA bus
7 * PROGRAMMER: David Welch (welch@mcmail.com)
12 /* INCLUDES ***************************************************************/
15 #include <ddk/ntddk.h>
22 /* FUNCTIONS *****************************************************************/
24 BOOL HalIsaProbe(VOID)
26 * FUNCTION: Probes for an ISA bus
27 * RETURNS: True if detected
28 * NOTE: Since ISA is the default we are called last and always return
32 DbgPrint("Assuming ISA bus\n");
35 * Probe for plug and play support
42 HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
44 PHYSICAL_ADDRESS BusAddress,
46 PPHYSICAL_ADDRESS TranslatedAddress)
50 Result = HalTranslateBusAddress(PCIBus,
58 Result = HalTranslateBusAddress(Internal,
67 HalpGetIsaInterruptVector(PVOID BusHandler,
69 ULONG BusInterruptLevel,
70 ULONG BusInterruptVector,
75 *Irql = PROFILE_LEVEL - BusInterruptVector;
76 *Affinity = 0xFFFFFFFF;
77 return IRQ2VECTOR(BusInterruptVector);
79 *Irql = PROFILE_LEVEL - BusInterruptVector;
80 *Affinity = 0xFFFFFFFF;
81 return BusInterruptVector;