43 #include "config/the_isa.hh"
46 #include "debug/Malta.hh"
52 #include "params/MaltaCChip.hh"
56 using namespace TheISA;
61 warn(
"MaltaCCHIP::MaltaCChip() not implemented.");
71 panic(
"MaltaCCHIP::read() not implemented.");
184 panic(
"MaltaCCHIP::write() not implemented.");
372 panic(
"MaltaCCHIP::clear() not implemented.");
401 panic(
"MaltaCCHIP::clearITI() not implemented.");
424 panic(
"MaltaCCHIP::reqIPI() not implemented.");
456 panic(
"MaltaCCHIP::postRTC() not implemented.");
484 "interrupt %d\n",
i, interrupt);
499 "interrupt %d\n",
i, interrupt);
525 MaltaCChipParams::create()
void clearIPI(uint64_t ipintr)
post an ipi interrupt to the CPU.
Emulation of the Malta CChip CSRs.
Malta * malta
pointer to the malta object.
void clearIntr(uint32_t interrupt)
clear an interrupt previously posted to the CPU.
void post(int cpu_id, int int_num, int index)
void reqIPI(uint64_t ipreq)
request an interrupt be posted to the CPU.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
uint64_t Tick
Tick count type.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
Malta CChip CSR Emulation.
MaltaCChip(Params *p)
Initialize the Malta CChip by setting all of the device register to 0.
static const int Max_CPUs
Max number of CPUs in a Malta.
std::vector< ThreadContext * > threadContexts
void clearITI(uint64_t itintr)
clear a timer interrupt previously posted to the CPU.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
void serialize(CheckpointOut &cp) const override
Serialize an object.
Top level class for Malta Chipset emulation.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Declaration of the Packet class.
std::ostream CheckpointOut
Tick pioDelay
Delay that the device experinces on an access.
void postIntr(uint32_t interrupt)
post an interrupt to the CPU.
MaltaCChip * cchip
Pointer to the Malta CChip.
void clear(int cpu_id, int int_num, int index)
void postRTC()
post an RTC interrupt to the CPU
Declaration of top level class for the Malta chipset.