Go to the documentation of this file.
42 #include "debug/Malta.hh"
48 #include "params/MaltaCChip.hh"
54 warn(
"MaltaCCHIP::MaltaCChip() not implemented.");
64 panic(
"MaltaCCHIP::read() not implemented.");
71 panic(
"MaltaCCHIP::write() not implemented.");
78 panic(
"MaltaCCHIP::clear() not implemented.");
84 panic(
"MaltaCCHIP::clearITI() not implemented.");
90 panic(
"MaltaCCHIP::reqIPI() not implemented.");
97 panic(
"MaltaCCHIP::postRTC() not implemented.");
106 for (
int i=0;
i < size;
i++) {
110 DPRINTF(
Malta,
"posting interrupt to cpu %d, interrupt %d\n",
121 for (
int i=0;
i < size;
i++) {
125 DPRINTF(
Malta,
"clearing interrupt to cpu %d, interrupt %d\n",
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.
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.
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
void clearIPI(uint64_t ipintr)
post an ipi interrupt to the CPU.
MaltaCChip(const Params &p)
Initialize the Malta CChip by setting all of the device register to 0.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
#define panic(...)
This implements a cprintf based panic() function.
Generated on Tue Mar 23 2021 19:41:26 for gem5 by doxygen 1.8.17