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 ***************************************************************/
18 /* FUNCTIONS *****************************************************************/
20 BOOL
HalIsaProbe(VOID
)
22 * FUNCTION: Probes for an ISA bus
23 * RETURNS: True if detected
24 * NOTE: Since ISA is the default we are called last and always return
28 DbgPrint("Assuming ISA bus\n");
31 * Probe for plug and play support
38 HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler
,
40 PHYSICAL_ADDRESS BusAddress
,
42 PPHYSICAL_ADDRESS TranslatedAddress
)
46 Result
= HalTranslateBusAddress(PCIBus
,
54 Result
= HalTranslateBusAddress(Internal
,
63 HalpGetIsaInterruptVector(PVOID BusHandler
,
65 ULONG BusInterruptLevel
,
66 ULONG BusInterruptVector
,
70 ULONG Vector
= IRQ2VECTOR(BusInterruptVector
);
71 *Irql
= VECTOR2IRQL(Vector
);
72 *Affinity
= 0xFFFFFFFF;