Go to the documentation of this file.
44 #include "debug/AMBA.hh"
58 interrupt(
p.interrupt->get()), intDelay(
p.int_delay)
66 pioAddr(
p.pio_addr), pioSize(pio_size),
67 pioDelay(
p.pio_latency), interrupt(
p.interrupt->get())
81 (amba_id >>
byte) & 0xFF,
82 pkt->
getAddr() - pio_addr,
byte);
84 pkt->
setUintX((amba_id >>
byte) & 0xFF, ByteOrder::little);
AmbaDmaDevice(const Params &p, Addr pio_size=0)
const uint64_t AmbaVendor
AmbaPioDevice(const Params &p, Addr pio_size)
void setUintX(uint64_t w, ByteOrder endian)
Set the value in the word w after truncating it to the length of the packet and then byteswapping it ...
bool readId(PacketPtr pkt, uint64_t amba_id, Addr pio_addr)
AmbaIntDevice(const Params &p, Addr pio_size)
AmbaDmaDeviceParams Params
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
static const int AMBA_CEL_ID3
AmbaPioDeviceParams Params
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
static const int AMBA_PER_ID0
#define ULL(N)
uint64_t constant
Generated on Tue Mar 23 2021 19:41:25 for gem5 by doxygen 1.8.17