42 #include "config/the_isa.hh"
51 using namespace TheISA;
105 TsunamiParams::create()
void postPciInt(int line) override
Cause the chipset to post a cpi interrupt to the CPU.
Emulation of the Tsunami CChip CSRs.
Tsunami PCI interface CSRs.
void postDRIR(uint32_t interrupt)
post an interrupt to the CPU.
Top level class for Tsunami Chipset emulation.
System * system
Pointer to the system.
static const int Max_CPUs
Max number of CPUs in a Tsunami.
void clearPIC(uint8_t bitvector)
Clear a posted interrupt.
void serialize(CheckpointOut &cp) const override
Serialize an object.
void setIntrFreq(Tick freq)
TsunamiCChip * cchip
Pointer to the Tsunami CChip.
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
void clearConsoleInt() override
Clear a posted CPU interrupt.
void postConsoleInt() override
Cause the cpu to post a serial interrupt to the CPU.
Declaration of top level class for the Tsunami chipset.
#define SERIALIZE_ARRAY(member, size)
int intr_sum_type[Tsunami::Max_CPUs]
Tsunami I/O Space mapping including RTC/timer interrupts.
Tick frequency() const
Return the freqency of the RTC.
#define UNSERIALIZE_ARRAY(member, size)
std::ostream CheckpointOut
void clearDRIR(uint32_t interrupt)
clear an interrupt previously posted to the CPU.
TsunamiIO * io
Pointer to the TsunamiIO device which has the RTC.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void postPIC(uint8_t bitvector)
Post an PIC interrupt to the CPU via the CChip.
void clearPciInt(int line) override
Clear a posted PCI->CPU interrupt.