Go to the documentation of this file.
52 struct tm tm =
p->time;
55 DPRINTFN(
"Real-time clock set to %s\n", asctime(&tm));
75 panic(
"Dumb tod device doesn't support writes\n");
91 DumbTODParams::create()
void makeAtomicResponse()
Addr pioAddr
Address that the device listens to.
#define UNSERIALIZE_SCALAR(scalar)
time_t mkutctime(struct tm *time)
uint64_t Tick
Tick count type.
void setBE(T v)
Set the value in the data pointer to v as big endian.
DumbTOD simply returns some idea of time when read.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void serialize(CheckpointOut &cp) const override
Serialize an object.
Addr pioSize
Size that the device's address range.
#define SERIALIZE_SCALAR(scalar)
Overload hash function for BasicBlockRange type.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Tick pioDelay
Delay that the device experinces on an access.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
std::ostream CheckpointOut
#define panic(...)
This implements a cprintf based panic() function.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17