Go to the documentation of this file.
33 #ifndef __DEV_MALTA_IO_HH__
34 #define __DEV_MALTA_IO_HH__
41 #include "params/MaltaIO.hh"
56 RTC(
const std::string &
name,
const MaltaIOParams *
p);
139 #endif // __DEV_MALTA_IO_HH__
uint8_t picr
Raw PIC interrupt register before masking.
MaltaCChip * cchip
Pointer to the Malta CChip.
void clearIntr(uint8_t interrupt)
Clear an Interrupt to the CPU.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
Malta * malta
A pointer to the Malta device which be belong to.
uint64_t Tick
Tick count type.
uint8_t mode2
Mode of PIC2.
Intel8254Timer pitimer
Intel 8253 Periodic Interval Timer.
RTC(const std::string &name, const MaltaIOParams *p)
uint8_t mask1
Mask of the PIC1.
const Params * params() const
uint8_t mode1
Mode of PIC1.
Programmable Interval Timer (Intel 8254)
uint8_t mask2
Mask of the PIC2.
Real-Time Clock (MC146818)
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void postRTC()
post an RTC interrupt to the CPU
void postIntr(uint8_t interrupt)
Post an Interrupt to the CPU.
Tick frequency() const
Return the freqency of the RTC.
const SimObjectParams * _params
Cached copy of the object parameters.
const std::string & name() const
Top level class for Malta Chipset emulation.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint16_t timerData
The interval is set via two writes to the PIT.
void serialize(CheckpointOut &cp) const override
Serialize an object.
Malta I/O device is a catch all for all the south bridge stuff we care to implement.
std::ostream CheckpointOut
bool picInterrupting
Is the pic interrupting right now or not.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
MaltaIO(const Params *p)
Initialize all the data for devices supported by Malta I/O.
void startup() override
Start running.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17