3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: hal/halx86/generic/bus/isabus.c
6 * PROGRAMMERS: Stefan Ginsberg (stefan.ginsberg@reactos.org)
9 /* INCLUDES *******************************************************************/
15 /* GLOBALS ********************************************************************/
17 /* PRIVATE FUNCTIONS **********************************************************/
21 HalpTranslateIsaBusAddress(IN PBUS_HANDLER BusHandler
,
22 IN PBUS_HANDLER RootHandler
,
23 IN PHYSICAL_ADDRESS BusAddress
,
24 IN OUT PULONG AddressSpace
,
25 OUT PPHYSICAL_ADDRESS TranslatedAddress
)
29 /* Use system translation */
30 Status
= HalpTranslateSystemBusAddress(BusHandler
,
36 /* If it didn't work and it was memory address space... */
37 if (!(Status
) && (*AddressSpace
== 0))
39 /* Try EISA translation instead */
40 Status
= HalTranslateBusAddress(Eisa
,
41 BusHandler
->BusNumber
,
47 /* Return the result */