[HAL]: Add missing PCI Bus Handler support functions, used on non-ACPI systems (ISA...
authorSir Richard <sir_richard@svn.reactos.org>
Mon, 7 Jun 2010 03:19:20 +0000 (03:19 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Mon, 7 Jun 2010 03:19:20 +0000 (03:19 +0000)
svn path=/trunk/; revision=47654

reactos/hal/halx86/generic/legacy/bus/pcibus.c

index f4d64e3..fe49b73 100644 (file)
@@ -507,6 +507,55 @@ HalpSetPCIData(IN PBUS_HANDLER BusHandler,
     return Len;
 }
 
+ULONG
+NTAPI
+HalpGetPCIIntOnISABus(IN PBUS_HANDLER BusHandler,
+                      IN PBUS_HANDLER RootHandler,
+                      IN ULONG BusInterruptLevel,
+                      IN ULONG BusInterruptVector,
+                      OUT PKIRQL Irql,
+                      OUT PKAFFINITY Affinity)
+{
+    UNIMPLEMENTED;
+    while (TRUE);
+    return 0;
+}
+
+VOID
+NTAPI
+HalpPCIPin2ISALine(IN PBUS_HANDLER BusHandler,
+                   IN PBUS_HANDLER RootHandler,
+                   IN PCI_SLOT_NUMBER SlotNumber,
+                   IN PPCI_COMMON_CONFIG PciData)
+{
+    UNIMPLEMENTED;
+    while (TRUE);
+}
+        
+VOID
+NTAPI
+HalpPCIISALine2Pin(IN PBUS_HANDLER BusHandler,
+                   IN PBUS_HANDLER RootHandler,
+                   IN PCI_SLOT_NUMBER SlotNumber,
+                   IN PPCI_COMMON_CONFIG PciNewData,
+                   IN PPCI_COMMON_CONFIG PciOldData)
+{
+    UNIMPLEMENTED;
+    while (TRUE);
+}
+
+NTSTATUS
+NTAPI
+HalpGetISAFixedPCIIrq(IN PBUS_HANDLER BusHandler,
+                      IN PBUS_HANDLER RootHandler,
+                      IN PCI_SLOT_NUMBER PciSlot,
+                      OUT PSUPPORTED_RANGE *Range)
+{
+    UNIMPLEMENTED;
+    while (TRUE);
+    return STATUS_SUCCESS;
+}
+
 NTSTATUS
 NTAPI
 HalpSetupPciDeviceForDebugging(IN PVOID LoaderBlock,
@@ -560,6 +609,18 @@ PciSize(ULONG Base, ULONG Mask)
     return Size;
 }
 
+NTSTATUS
+NTAPI
+HalpAdjustPCIResourceList(IN PBUS_HANDLER BusHandler,
+                          IN PBUS_HANDLER RootHandler,
+                          IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *pResourceList)
+{
+    /* Not yet supported */
+    DbgPrint("HAL: PCI Resource List Adjustment not implemented!");
+    while (TRUE);
+    return STATUS_UNSUCCESSFUL;
+}
+
 NTSTATUS
 NTAPI
 HalpAssignPCISlotResources(IN PBUS_HANDLER BusHandler,
@@ -1063,3 +1124,5 @@ HalpInitializePciStubs(VOID)
     HalpPCIConfigInitialized = TRUE;
 }
 
+/* EOF */
+