46 #ifndef __DEV_ARM_GIC_V2M_H__
47 #define __DEV_ARM_GIC_V2M_H__
54 #include "params/Gicv2m.hh"
55 #include "params/Gicv2mFrame.hh"
121 #endif //__DEV_ARM_GIC_V2M_H__
int frameFromAddr(Addr a) const
Determine which frame a PIO access lands in.
BaseGic * gic
Gic to which we fire interrupts.
static const int MSI_SETSPI_NSR
static const int FRAME_SIZE
Ultimately this class should be embedded in the Gicv2m class, but this confuses Python as 'Gicv2m::Fr...
uint64_t Tick
Tick count type.
std::vector< Gicv2mFrame * > frames
A set of configured hardware frames.
virtual Tick read(PacketPtr pkt)
A PIO read to the device.
This device is the base class which all devices senstive to an address range inherit from...
const unsigned int spi_base
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual Tick write(PacketPtr pkt)
A PIO read to the device.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
const unsigned int spi_len
Base class for ARM GIC implementations.
virtual AddrRangeList getAddrRanges() const
Return the address ranges used by the Gicv2m This is the set of frame addresses.
Gicv2mFrame(const Params *p)
const Tick pioDelay
Latency for an MMIO operation.
static const int MSI_TYPER
Abstract superclass for simulation objects.
unsigned int log2framenum
Count of number of configured frames, as log2(frames)