ReactOS 0.4.15-dev-5666-gc548b97
|
#include <hal.h>
#include <debug.h>
#include "pci_classes.h"
#include "pci_vendors.h"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
KSPIN_LOCK | HalpPCIConfigLock |
ULONG | HalpPciIrqMask |
static BOOLEAN | WarningsGiven [5] |
NTSTATUS NTAPI HalAdjustResourceList | ( | IN PIO_RESOURCE_REQUIREMENTS_LIST * | ResourceList | ) |
Definition at line 1438 of file bussupp.c.
NTSTATUS NTAPI HalAssignSlotResources | ( | IN PUNICODE_STRING | RegistryPath, |
IN PUNICODE_STRING | DriverClassName, | ||
IN PDRIVER_OBJECT | DriverObject, | ||
IN PDEVICE_OBJECT | DeviceObject, | ||
IN INTERFACE_TYPE | BusType, | ||
IN ULONG | BusNumber, | ||
IN ULONG | SlotNumber, | ||
IN OUT PCM_RESOURCE_LIST * | AllocatedResources | ||
) |
Definition at line 1465 of file bussupp.c.
ULONG NTAPI HalGetBusData | ( | IN BUS_DATA_TYPE | BusDataType, |
IN ULONG | BusNumber, | ||
IN ULONG | SlotNumber, | ||
IN PVOID | Buffer, | ||
IN ULONG | Length | ||
) |
Definition at line 1509 of file bussupp.c.
ULONG NTAPI HalGetBusDataByOffset | ( | IN BUS_DATA_TYPE | BusDataType, |
IN ULONG | BusNumber, | ||
IN ULONG | SlotNumber, | ||
IN PVOID | Buffer, | ||
IN ULONG | Offset, | ||
IN ULONG | Length | ||
) |
Definition at line 1530 of file bussupp.c.
Referenced by HalGetBusData().
ULONG NTAPI HalGetInterruptVector | ( | IN INTERFACE_TYPE | InterfaceType, |
IN ULONG | BusNumber, | ||
IN ULONG | BusInterruptLevel, | ||
IN ULONG | BusInterruptVector, | ||
OUT PKIRQL | Irql, | ||
OUT PKAFFINITY | Affinity | ||
) |
Definition at line 1563 of file bussupp.c.
BOOLEAN NTAPI HaliFindBusAddressTranslation | ( | IN PHYSICAL_ADDRESS | BusAddress, |
IN OUT PULONG | AddressSpace, | ||
OUT PPHYSICAL_ADDRESS | TranslatedAddress, | ||
IN OUT PULONG_PTR | Context, | ||
IN BOOLEAN | NextBus | ||
) |
Definition at line 1327 of file bussupp.c.
Referenced by HalpInitBusHandler().
BOOLEAN NTAPI HaliTranslateBusAddress | ( | IN INTERFACE_TYPE | InterfaceType, |
IN ULONG | BusNumber, | ||
IN PHYSICAL_ADDRESS | BusAddress, | ||
IN OUT PULONG | AddressSpace, | ||
OUT PPHYSICAL_ADDRESS | TranslatedAddress | ||
) |
Definition at line 1401 of file bussupp.c.
Referenced by HalpInitBusHandler(), and HalTranslateBusAddress().
PBUS_HANDLER NTAPI HalpAllocateAndInitPciBusHandler | ( | IN ULONG | PciType, |
IN ULONG | BusNo, | ||
IN BOOLEAN | TestAllocation | ||
) |
Definition at line 283 of file bussupp.c.
Referenced by HalpInitializePciBus().
PBUS_HANDLER NTAPI HalpAllocateBusHandler | ( | IN INTERFACE_TYPE | InterfaceType, |
IN BUS_DATA_TYPE | BusDataType, | ||
IN ULONG | BusNumber, | ||
IN INTERFACE_TYPE | ParentBusInterfaceType, | ||
IN ULONG | ParentBusNumber, | ||
IN ULONG | BusSpecificData | ||
) |
Definition at line 110 of file bussupp.c.
Referenced by HalpAllocateAndInitPciBusHandler(), and HalpRegisterInternalBusHandlers().
NTSTATUS NTAPI HalpAssignSlotResources | ( | IN PUNICODE_STRING | RegistryPath, |
IN PUNICODE_STRING | DriverClassName, | ||
IN PDRIVER_OBJECT | DriverObject, | ||
IN PDEVICE_OBJECT | DeviceObject, | ||
IN INTERFACE_TYPE | BusType, | ||
IN ULONG | BusNumber, | ||
IN ULONG | SlotNumber, | ||
IN OUT PCM_RESOURCE_LIST * | AllocatedResources | ||
) |
Definition at line 1292 of file bussupp.c.
Referenced by HalAssignSlotResources().
VOID NTAPI HalpDebugPciDumpBus | ( | IN PBUS_HANDLER | BusHandler, |
IN PCI_SLOT_NUMBER | PciSlot, | ||
IN ULONG | i, | ||
IN ULONG | j, | ||
IN ULONG | k, | ||
IN PPCI_COMMON_CONFIG | PciData | ||
) |
Definition at line 790 of file bussupp.c.
Referenced by HalpInitializePciBus().
Definition at line 695 of file bussupp.c.
Referenced by HalpInitializePciBus().
NTSTATUS NTAPI HalpGetChipHacks | ( | IN USHORT | VendorId, |
IN USHORT | DeviceId, | ||
IN UCHAR | RevisionId, | ||
IN PULONG | HackFlags | ||
) |
Definition at line 430 of file bussupp.c.
Referenced by HalpInitializePciBus().
Definition at line 642 of file bussupp.c.
Referenced by HalpInitializePciBus().
Definition at line 1259 of file bussupp.c.
Definition at line 1019 of file bussupp.c.
BOOLEAN NTAPI HalpIsBridgeDevice | ( | IN PPCI_COMMON_CONFIG | PciData | ) |
Definition at line 628 of file bussupp.c.
Referenced by HalpGetPciBridgeConfig().
BOOLEAN NTAPI HalpIsIdeDevice | ( | IN PPCI_COMMON_CONFIG | PciData | ) |
Definition at line 575 of file bussupp.c.
Referenced by HalpInitializePciBus().
BOOLEAN NTAPI HalpIsRecognizedCard | ( | IN PPCI_REGISTRY_INFO_INTERNAL | PciRegistryInfo, |
IN PPCI_COMMON_CONFIG | PciData, | ||
IN ULONG | Flags | ||
) |
Definition at line 494 of file bussupp.c.
Referenced by HalpInitializePciBus().
BOOLEAN NTAPI HalpIsValidPCIDevice | ( | IN PBUS_HANDLER | BusHandler, |
IN PCI_SLOT_NUMBER | Slot | ||
) |
Definition at line 368 of file bussupp.c.
Referenced by HalpInitializePciBus().
Definition at line 235 of file bussupp.c.
Referenced by HalpInitializePciBus().
Definition at line 159 of file bussupp.c.
Referenced by HalpInitBusHandlers().
Definition at line 1268 of file bussupp.c.
ULONG NTAPI HalSetBusData | ( | IN BUS_DATA_TYPE | BusDataType, |
IN ULONG | BusNumber, | ||
IN ULONG | SlotNumber, | ||
IN PVOID | Buffer, | ||
IN ULONG | Length | ||
) |
Definition at line 1609 of file bussupp.c.
ULONG NTAPI HalSetBusDataByOffset | ( | IN BUS_DATA_TYPE | BusDataType, |
IN ULONG | BusNumber, | ||
IN ULONG | SlotNumber, | ||
IN PVOID | Buffer, | ||
IN ULONG | Offset, | ||
IN ULONG | Length | ||
) |
Definition at line 1629 of file bussupp.c.
Referenced by HalSetBusData().
BOOLEAN NTAPI HalTranslateBusAddress | ( | IN INTERFACE_TYPE | InterfaceType, |
IN ULONG | BusNumber, | ||
IN PHYSICAL_ADDRESS | BusAddress, | ||
IN OUT PULONG | AddressSpace, | ||
OUT PPHYSICAL_ADDRESS | TranslatedAddress | ||
) |
Definition at line 1662 of file bussupp.c.
Referenced by HaliFindBusAddressTranslation().
Referenced by HalpDebugPciDumpBus().
|
extern |
Definition at line 22 of file pcibus.c.
Referenced by HalpInitializePciBus(), HalpInitializePciStubs(), HalpPCIReleaseSynchronizationType2(), HalpPCIReleaseSynchronzationType1(), HalpPCISynchronizeType1(), and HalpPCISynchronizeType2().
ULONG HalpPciIrqMask |
Definition at line 104 of file bussupp.c.
Referenced by HalpInitializePciBus().
|
static |
Definition at line 425 of file bussupp.c.
Referenced by HalpFixupPciSupportedRanges(), and HalpGetPciBridgeConfig().