3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: hal/halx86/generic/legacy/halpcat.c
5 * PURPOSE: HAL Legacy Support Code
6 * PROGRAMMERS: ReactOS Portable Systems Group
9 /* INCLUDES *******************************************************************/
15 /* GLOBALS ********************************************************************/
17 /* This determines the HAL type */
18 BOOLEAN HalDisableFirmwareMapper
= FALSE
;
19 PWCHAR HalHardwareIdString
= L
"e_isa_up";
20 PWCHAR HalName
= L
"PC Compatible Eisa/Isa HAL";
22 /* PRIVATE FUNCTIONS **********************************************************/
26 HalpSetupAcpiPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock
)
28 /* There is no ACPI on these HALs */
29 return STATUS_NO_SUCH_DEVICE
;
34 HalpBuildAddressMap(VOID
)
36 /* FIXME: Inherit ROM blocks from the registry */
37 //HalpInheritROMBlocks();
39 /* FIXME: Add the ROM blocks to our ranges */
45 HalpGetDebugPortTable(VOID
)
53 HalpIs16BitPortDecodeSupported(VOID
)
55 /* Only EISA systems support this */
56 return (HalpBusType
== MACHINE_TYPE_EISA
) ? CM_RESOURCE_PORT_16_BIT_DECODE
: 0;
64 HalReportResourceUsage(VOID
)
66 INTERFACE_TYPE InterfaceType
;
67 UNICODE_STRING HalString
;
69 /* FIXME: Initialize MCA bus */
71 /* Initialize PCI bus. */
72 HalpInitializePciBus();
74 /* Initialize the stubs */
75 HalpInitializePciStubs();
77 /* What kind of bus is this? */
81 case MACHINE_TYPE_ISA
:
86 case MACHINE_TYPE_EISA
:
91 case MACHINE_TYPE_MCA
:
92 InterfaceType
= MicroChannel
;
97 InterfaceType
= Internal
;
101 /* Build HAL usage */
102 RtlInitUnicodeString(&HalString
, HalName
);
103 HalpReportResourceUsage(&HalString
, InterfaceType
);
105 /* Setup PCI debugging and Hibernation */
106 HalpRegisterPciDebuggingDeviceInfo();