41#include "debug/PciHost.hh"
46#include "params/GenericPciHost.hh"
47#include "params/PciHost.hh"
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
PciBusNum getBusNum() const override
Get the PCI bus number assign to that upstream.
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.
Base class to represent a PCI device.
uint8_t interruptLine() const
PciHost(const PciHostParams &p)
PciUpstream(const Params &p)
PciDevice * getDevice(const PciDevAddr &addr)
Retrieve a PCI device from its bus address.
AddrRange RangeSize(Addr start, Addr size)
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.