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 ***************************************************************/
17 /* FUNCTIONS *****************************************************************/
19 BOOL
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;