Go to the documentation of this file.
31 #include "debug/I8254.hh"
57 pkt->
setLE(uint8_t(-1));
59 panic(
"Read from undefined i8254 register.\n");
73 pit.writeControl(pkt->
getLE<uint8_t>());
75 panic(
"Write to undefined i8254 register.\n");
84 pit.serialize(
"pit",
cp);
90 pit.unserialize(
"pit",
cp);
100 I8254Params::create()
void makeAtomicResponse()
void unserialize(CheckpointIn &cp) override
Unserialize an object.
uint64_t Tick
Tick count type.
void startup() override
startup() is the final initialization call before simulation.
void serialize(CheckpointOut &cp) const override
Serialize an object.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
std::vector< IntSourcePin< I8254 > * > intPin
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
T getLE() const
Get the data in the packet byte swapped from little endian to host endian.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void setLE(T v)
Set the value in the data pointer to v as little endian.
std::ostream CheckpointOut
void counterInterrupt(unsigned int num)
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17