2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: hal/halppc/generic/isa.c
5 * PURPOSE: Interfaces to the ISA bus
6 * PROGRAMMER: David Welch (welch@mcmail.com)
11 /* INCLUDES ***************************************************************/
17 /* FUNCTIONS *****************************************************************/
19 BOOLEAN
HalIsaProbe(VOID
)
21 * FUNCTION: Probes for an ISA bus
22 * RETURNS: True if detected
23 * NOTE: Since ISA is the default we are called last and always return
27 DbgPrint("Assuming ISA bus\n");
30 * Probe for plug and play support
37 HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler
,
39 PHYSICAL_ADDRESS BusAddress
,
41 PPHYSICAL_ADDRESS TranslatedAddress
)
45 Result
= HalTranslateBusAddress(PCIBus
,
53 Result
= HalTranslateBusAddress(Internal
,
62 HalpGetIsaInterruptVector(PVOID BusHandler
,
64 ULONG BusInterruptLevel
,
65 ULONG BusInterruptVector
,
69 ULONG Vector
= IRQ2VECTOR(BusInterruptVector
);
70 *Irql
= VECTOR2IRQL(Vector
);
71 *Affinity
= 0xFFFFFFFF;