[CMAKE]
[reactos.git] / hal / halx86 / generic / legacy / halpcat.c
index ea16403..c403b6f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * PROJECT:         ReactOS HAL
  * LICENSE:         BSD - See COPYING.ARM in the top level directory
- * FILE:            hal/halx86/generic/acpi/halpcat.c
+ * FILE:            hal/halx86/generic/legacy/halpcat.c
  * PURPOSE:         HAL Legacy Support Code
  * PROGRAMMERS:     ReactOS Portable Systems Group
  */
@@ -23,6 +23,7 @@ PWCHAR HalName = L"PC Compatible Eisa/Isa HAL";
 
 NTSTATUS
 NTAPI
+INIT_FUNCTION
 HalpSetupAcpiPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
 {
     /* There is no ACPI on these HALs */
@@ -31,19 +32,7 @@ HalpSetupAcpiPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
 
 VOID
 NTAPI
-HalpInitializePciBus(VOID)
-{
-    /* FIXME: Should do legacy PCI bus detection */
-    
-    /* FIXME: Should detect chipset hacks */
-    
-    /* FIXME: Should detect broken PCI hardware and apply hacks */
-    
-    /* FIXME: Should build resource ranges */
-}
-
-VOID
-NTAPI
+INIT_FUNCTION
 HalpBuildAddressMap(VOID)
 {
     /* FIXME: Inherit ROM blocks from the registry */
@@ -55,6 +44,7 @@ HalpBuildAddressMap(VOID)
 
 BOOLEAN
 NTAPI
+INIT_FUNCTION
 HalpGetDebugPortTable(VOID)
 {
     /* No ACPI */
@@ -63,17 +53,29 @@ HalpGetDebugPortTable(VOID)
 
 ULONG
 NTAPI
+INIT_FUNCTION
 HalpIs16BitPortDecodeSupported(VOID)
 {
     /* Only EISA systems support this */
     return (HalpBusType == MACHINE_TYPE_EISA) ? CM_RESOURCE_PORT_16_BIT_DECODE : 0;
 }
 
+NTSTATUS
+NTAPI
+INIT_FUNCTION
+HaliInitPnpDriver(VOID)
+{
+    /* On PC-AT, this will interface with the PCI driver */
+    //HalpDebugPciBus();
+    return STATUS_SUCCESS;
+}
+
 /*
  * @implemented
  */
 VOID
 NTAPI
+INIT_FUNCTION
 HalReportResourceUsage(VOID)
 {
     INTERFACE_TYPE InterfaceType;