40#include "params/GenericArmPciHost.hh"
56 "%02x:%02x.%i: Interrupt from a device without interrupts\n",
60 case enums::ARM_PCI_INT_STATIC:
63 case enums::ARM_PCI_INT_DEV:
66 case enums::ARM_PCI_INT_PIN:
70 fatal(
"Unsupported PCI interrupt routing policy.");
uint32_t mapPciInterrupt(const PciDevAddr &addr, PciIntPin pin) const override
const enums::ArmPciIntRouting intPolicy
GenericArmPciHost(const GenericArmPciHostParams &p)
PciBusNum getBusNum() const override
Get the PCI bus number assign to that upstream.
virtual uint32_t mapPciInterrupt(const PciDevAddr &dev_addr, PciIntPin pin) const
GenericPciHost(const GenericPciHostParams &p)
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
#define fatal(...)
This implements a cprintf based fatal() function.
Copyright (c) 2024 Arm Limited All rights reserved.