71 warn_once(
"A9SCU with >4 CPUs is unsupported\n");
75 int smp_bits, core_cnt;
78 pkt->
set(smp_bits << 4 | core_cnt);
82 panic(
"Tried to read SCU at offset %#x\n", daddr);
99 warn(
"Tried to write SCU at offset %#x\n", daddr);
107 A9SCUParams::create()
109 return new A9SCU(
this);
void set(T v, ByteOrder endian)
Set the value in the data pointer to v using the specified endianness.
virtual Tick write(PacketPtr pkt)
All writes are panic.
virtual Tick read(PacketPtr pkt)
Handle a read to the device.
Addr pioSize
Size that the device's address range.
void makeAtomicResponse()
uint64_t Tick
Tick count type.
uint64_t power(uint32_t n, uint32_t e)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
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.
This defines the snoop control unit register on an A9.
Addr pioAddr
Address that the device listens to.
A9SCU(Params *p)
The constructor for RealView just registers itself with the MMU.