44#include "debug/AMBA.hh"
61 interrupt(
p.interrupt->get()), intDelay(
p.int_delay)
69 pioAddr(
p.pio_addr), pioSize(pio_size),
70 pioDelay(
p.pio_latency), interrupt(
p.interrupt->get())
83 DPRINTF(AMBA,
"Returning %#x for offset %#x(%d)\n",
84 (amba_id >>
byte) & 0xFF,
85 pkt->
getAddr() - pio_addr,
byte);
87 pkt->
setUintX((amba_id >>
byte) & 0xFF, ByteOrder::little);
This is a base class for AMBA devices that have to respond to Device and Implementer ID calls.
This device sits in memory and reponds appropriately so the linux kernel ignores the device it is try...
static const int AMBA_CEL_ID3
static const int AMBA_PER_ID0
bool readId(PacketPtr pkt, uint64_t amba_id, Addr pio_addr)
AmbaDmaDeviceParams Params
AmbaDmaDevice(const Params &p, Addr pio_size=0)
AmbaIntDeviceParams Params
AmbaIntDevice(const Params &p, Addr pio_size)
AmbaPioDevice(const Params &p, Addr pio_size)
AmbaPioDeviceParams Params
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
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 ...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
const uint64_t AmbaVendor
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Declaration of the Packet class.