40#include "params/GenericArmPciHost.hh"
47 intPolicy(
p.int_policy), intBase(
p.int_base),
57 "%02x:%02x.%i: Interrupt from a device without interrupts\n",
61 case enums::ARM_PCI_INT_STATIC:
64 case enums::ARM_PCI_INT_DEV:
67 case enums::ARM_PCI_INT_PIN:
71 fatal(
"Unsupported PCI interrupt routing policy.");
uint32_t mapPciInterrupt(const PciBusAddr &addr, PciIntPin pin) const override
const enums::ArmPciIntRouting intPolicy
GenericArmPciHost(const GenericArmPciHostParams &p)
Configurable generic PCI host interface.
virtual uint32_t mapPciInterrupt(const PciBusAddr &bus_addr, PciIntPin pin) const
#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 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.