31 #ifndef __DEV_X86_I8254_HH__
32 #define __DEV_X86_I8254_HH__
36 #include "params/I8254.hh"
121 #endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__
void writeControl(const CtrlReg data)
Write control word.
void counterInterrupt(unsigned int num)
void startup() override
startup() is the final initialization call before simulation.
Programmable Interval Timer (Intel 8254)
void counterInterrupt(unsigned int num)
uint8_t readCounter(unsigned int num)
void writeCounter(unsigned int num, const uint8_t data)
bool outputHigh(unsigned int num)
void writeCounter(unsigned int num, const uint8_t data)
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void writeControl(uint8_t val)
uint64_t Tick
Tick count type.
bool outputHigh(unsigned int num)
X86Intel8254Timer(const std::string &name, I8254 *_parent)
uint8_t readCounter(unsigned int num)
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
virtual const std::string name() const
const std::string & name() const
std::ostream CheckpointOut
const SimObjectParams * _params
Cached copy of the object parameters.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
void serialize(CheckpointOut &cp) const override
Serialize an object.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
const Params * params() const