46 #include "debug/AMBA.hh" 60 intNum(p->int_num),
gic(p->
gic), intDelay(p->int_delay)
83 (amba_id >> byte) & 0xFF,
84 pkt->
getAddr() - pio_addr, byte);
86 pkt->
setLE<uint32_t>((amba_id >> byte) & 0xFF);
AmbaDmaDeviceParams Params
AmbaIntDevice(const Params *p, Addr pio_size)
AmbaPioDeviceParams Params
AmbaDmaDevice(const Params *p, Addr pio_size=0)
void setLE(T v)
Set the value in the data pointer to v as little endian.
const uint64_t AmbaVendor
Addr pioSize
Size that the device's address range.
This is a base class for AMBA devices that have to respond to Device and Implementer ID calls...
bool readId(PacketPtr pkt, uint64_t amba_id, Addr pio_addr)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define ULL(N)
uint64_t constant
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
Declaration of the Packet class.
Tick pioDelay
Delay that the device experinces on an access.
static const int AMBA_CEL_ID3
static const int AMBA_PER_ID0
AmbaPioDevice(const Params *p, Addr pio_size)
This device sits in memory and reponds appropriately so the linux kernel ignores the device it is try...
Addr pioAddr
Address that the device listens to.