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 ***************************************************************/
14 #include <ddk/ntddk.h>
19 #include <internal/debug.h>
21 /* FUNCTIONS *****************************************************************/
23 BOOL
HalIsaProbe(VOID
)
25 * FUNCTION: Probes for an ISA bus
26 * RETURNS: True if detected
27 * NOTE: Since ISA is the default we are called last and always return
31 DbgPrint("Assuming ISA bus\n");
34 * Probe for plug and play support
41 HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler
,
43 PHYSICAL_ADDRESS BusAddress
,
45 PPHYSICAL_ADDRESS TranslatedAddress
)
49 Result
= HalTranslateBusAddress(PCIBus
,
57 Result
= HalTranslateBusAddress(Internal
,
66 HalpGetIsaInterruptVector(PVOID BusHandler
,
68 ULONG BusInterruptLevel
,
69 ULONG BusInterruptVector
,
73 ULONG Vector
= IRQ2VECTOR(BusInterruptVector
);
74 *Irql
= VECTOR2IRQL(Vector
);
75 *Affinity
= 0xFFFFFFFF;