40 #include "params/GenericArmPciHost.hh" 44 intPolicy(p->int_policy), intBase(p->int_base),
45 intCount(p->int_count)
54 "%02x:%02x.%i: Interrupt from a device without interrupts\n",
58 case Enums::ARM_PCI_INT_STATIC:
61 case Enums::ARM_PCI_INT_DEV:
64 case Enums::ARM_PCI_INT_PIN:
68 fatal(
"Unsupported PCI interrupt routing policy.");
74 GenericArmPciHostParams::create()
#define fatal(...)
This implements a cprintf based fatal() function.
Configurable generic PCI host interface.
GenericArmPciHost(const GenericArmPciHostParams *p)
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
const Enums::ArmPciIntRouting intPolicy
uint32_t mapPciInterrupt(const PciBusAddr &addr, PciIntPin pin) const override
virtual uint32_t mapPciInterrupt(const PciBusAddr &bus_addr, PciIntPin pin) const