38#ifndef __DEV_PCI_HOST_HH__
39#define __DEV_PCI_HOST_HH__
44#include "params/PciHost.hh"
49struct GenericPciHostParams;
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
Addr interfaceMemAddr(const PciDevAddr &dev_addr, Addr pci_addr) const override
Calculate the physical address of a non-prefetchable memory location in the PCI address space.
Addr interfaceDmaAddr(const PciDevAddr &dev_addr, Addr pci_addr) const override
Calculate the physical address of a prefetchable memory location in the PCI address space.
PciBusNum getBusNum() const override
Get the PCI bus number assign to that upstream.
Addr interfacePioAddr(const PciDevAddr &dev_addr, Addr pci_addr) const override
Calculate the physical address of an IO location on the PCI bus.
const uint8_t confDeviceBits
virtual uint32_t mapPciInterrupt(const PciDevAddr &dev_addr, PciIntPin pin) const
GenericPciHost(const GenericPciHostParams &p)
void interfaceClearInt(const PciDevAddr &addr, PciIntPin pin) override
Post an interrupt to the CPU.
AddrRange interfaceConfigRange(const PciDevAddr &dev_addr) const override
Calculate the physical address range of the PCI device configuration space.
virtual ~GenericPciHost()
AddrRange getConfigAddrRange() const override
Get the range for the configuration memory space for which this PCI upstream is responsible.
void interfacePostInt(const PciDevAddr &addr, PciIntPin pin) override
Post an interrupt to the CPU.
PciHost(const PciHostParams &p)
PciUpstream(const Params &p)
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.