Go to the documentation of this file.
42 #include "debug/Malta.hh"
48 #include "params/MaltaCChip.hh"
56 warn(
"MaltaCCHIP::MaltaCChip() not implemented.");
66 panic(
"MaltaCCHIP::read() not implemented.");
73 panic(
"MaltaCCHIP::write() not implemented.");
80 panic(
"MaltaCCHIP::clear() not implemented.");
86 panic(
"MaltaCCHIP::clearITI() not implemented.");
92 panic(
"MaltaCCHIP::reqIPI() not implemented.");
99 panic(
"MaltaCCHIP::postRTC() not implemented.");
108 for (
int i=0;
i < size;
i++) {
112 DPRINTF(
Malta,
"posting interrupt to cpu %d, interrupt %d\n",
123 for (
int i=0;
i < size;
i++) {
127 DPRINTF(
Malta,
"clearing interrupt to cpu %d, interrupt %d\n",
144 MaltaCChipParams::create()
MaltaCChip * cchip
Pointer to the Malta CChip.
void clear(int cpu_id, int int_num, int index)
void post(int cpu_id, int int_num, int index)
void clearIntr(uint32_t interrupt)
clear an interrupt previously posted to the CPU.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
uint64_t Tick
Tick count type.
static const int Max_CPUs
Max number of CPUs in a Malta.
void postIntr(uint32_t interrupt)
post an interrupt to the CPU.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
void reqIPI(uint64_t ipreq)
request an interrupt be posted to the CPU.
Malta * malta
pointer to the malta object.
Malta CChip CSR Emulation.
void postRTC()
post an RTC interrupt to the CPU
void serialize(CheckpointOut &cp) const override
Serialize an object.
void clearITI(uint64_t itintr)
clear a timer interrupt previously posted to the CPU.
Overload hash function for BasicBlockRange type.
Top level class for Malta Chipset emulation.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Tick pioDelay
Delay that the device experinces on an access.
std::ostream CheckpointOut
MaltaCChip(Params *p)
Initialize the Malta CChip by setting all of the device register to 0.
void clearIPI(uint64_t ipintr)
post an ipi interrupt to the CPU.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17