46 #include "debug/AMBA.hh"
60 intNum(p->int_num), gic(p->gic), intDelay(p->int_delay)
68 pioAddr(p->pio_addr), pioSize(pio_size),
69 pioDelay(p->pio_latency),intNum(p->int_num), gic(p->gic)
82 DPRINTF(AMBA,
"Returning %#x for offset %#x(%d)\n",
83 (amba_id >> byte) & 0xFF,
84 pkt->
getAddr() - pio_addr, byte);
86 pkt->
set<uint32_t>((amba_id >> byte) & 0xFF);
void set(T v, ByteOrder endian)
Set the value in the data pointer to v using the specified endianness.
AmbaDmaDeviceParams Params
AmbaIntDevice(const Params *p, Addr pio_size)
AmbaPioDeviceParams Params
AmbaDmaDevice(const Params *p, Addr pio_size=0)
const uint64_t AmbaVendor
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.
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...