10#ifndef __HARDWARE_INFO_PCI_HOST_BRIDGE_LIB_H__
11#define __HARDWARE_INFO_PCI_HOST_BRIDGE_LIB_H__
35 UINT32 DmaAbove4G : 1;
36 UINT32 NoExtendedConfigSpace : 1;
37 UINT32 CombineMemPMem : 1;
71 UINT64 MemAbove4GStart;
72 UINT64 MemAbove4GSize;
77 UINT64 PMemAbove4GStart;
78 UINT64 PMemAbove4GSize;
83 UINT64 PcieConfigStart;
84 UINT64 PcieConfigSize;
110 OUT UINT64 *LastMmioAddress
201 OUT UINT64 *Attributes OPTIONAL,
202 OUT BOOLEAN *DmaAbove4G OPTIONAL,
203 OUT BOOLEAN *NoExtendedConfigSpace OPTIONAL,
204 OUT BOOLEAN *CombineMemPMem OPTIONAL
244 OUT UINT64 *Attributes OPTIONAL,
245 OUT BOOLEAN *DmaAbove4G OPTIONAL,
246 OUT BOOLEAN *NoExtendedConfigSpace OPTIONAL,
247 OUT BOOLEAN *CombineMemPMem OPTIONAL,
EFI_STATUS HardwareInfoPciHostBridgeLastMmioAddress(IN CONST HOST_BRIDGE_INFO *HostBridge, IN UINTN DataSize, IN BOOLEAN HighMem, OUT UINT64 *LastMmioAddress)
EFI_STATUS HardwareInfoPciHostBridgeGetFlags(IN CONST HOST_BRIDGE_INFO *HostBridge, IN UINTN DataSize, OUT UINT64 *Attributes OPTIONAL, OUT BOOLEAN *DmaAbove4G OPTIONAL, OUT BOOLEAN *NoExtendedConfigSpace OPTIONAL, OUT BOOLEAN *CombineMemPMem OPTIONAL)
EFI_STATUS HardwareInfoPciHostBridgeGet(IN CONST HOST_BRIDGE_INFO *HostBridge, IN UINTN DataSize, OUT UINTN *BusNrStart, OUT UINTN *BusNrLast, OUT UINT64 *Attributes OPTIONAL, OUT BOOLEAN *DmaAbove4G OPTIONAL, OUT BOOLEAN *NoExtendedConfigSpace OPTIONAL, OUT BOOLEAN *CombineMemPMem OPTIONAL, OUT PCI_ROOT_BRIDGE_APERTURE *Io OPTIONAL, OUT PCI_ROOT_BRIDGE_APERTURE *Mem OPTIONAL, OUT PCI_ROOT_BRIDGE_APERTURE *MemAbove4G OPTIONAL, OUT PCI_ROOT_BRIDGE_APERTURE *PMem OPTIONAL, OUT PCI_ROOT_BRIDGE_APERTURE *PMemAbove4G OPTIONAL, OUT PCI_ROOT_BRIDGE_APERTURE *PcieConfig OPTIONAL)
EFI_STATUS HardwareInfoPciHostBridgeGetApertures(IN CONST HOST_BRIDGE_INFO *HostBridge, IN UINTN DataSize, OUT PCI_ROOT_BRIDGE_APERTURE *Io, OUT PCI_ROOT_BRIDGE_APERTURE *Mem, OUT PCI_ROOT_BRIDGE_APERTURE *MemAbove4G, OUT PCI_ROOT_BRIDGE_APERTURE *PMem, OUT PCI_ROOT_BRIDGE_APERTURE *PMemAbove4G, OUT PCI_ROOT_BRIDGE_APERTURE *PcieConfig)
EFI_STATUS HardwareInfoPciHostBridgeGetBusNrRange(IN CONST HOST_BRIDGE_INFO *HostBridge, IN UINTN DataSize, OUT UINTN *BusNrStart, OUT UINTN *BusNrLast)