Go to the documentation of this file.
38 #ifndef __DEV_ARM_WATCHDOG_GENERIC_HH__
39 #define __DEV_ARM_WATCHDOG_GENERIC_HH__
47 class ArmInterruptPin;
48 struct GenericWatchdogParams;
65 bool enabled()
const {
return controlStatus.enabled; }
98 "The Generic Watchdog shall be disabled when "
99 "the System Counter is being updated, or "
100 "the results are unpredictable");
135 WCTRLS controlStatus;
161 #endif // __DEV_ARM_WATCHDOG_GENERIC_HH__
AddrRangeList getAddrRanges() const override
Every PIO device is obliged to provide an implementation that returns the address ranges the device r...
System Counter Listener: This object is being notified any time there is a change in the SystemCounte...
This device is the base class which all devices senstive to an address range inherit from.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
void writeRefresh(Addr addr, uint32_t data)
uint32_t readRefresh(Addr addr)
EndBitUnion(WCTRLS) WCTRLS controlStatus
Control and Status Register.
uint32_t offset
Offset Register.
const uint32_t iidr
Interface Identification Register.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
BitUnion32(WCTRLS) Bitfield< 2 > ws1
Abstract class for elements whose events depend on the counting speed of the System Counter.
const Params & params() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
EventFunctionWrapper timeoutEvent
uint64_t Tick
Tick count type.
uint32_t readControl(Addr addr)
Listener(GenericWatchdog &_parent)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
GenericWatchdog(const GenericWatchdogParams ¶ms)
uint64_t compare
Compare Register.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
Generic representation of an Arm interrupt pin.
std::ostream CheckpointOut
void writeControl(Addr addr, uint32_t data)
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
const AddrRange refreshFrame
const AddrRange controlFrame
void serialize(CheckpointOut &cp) const override
Serialize an object.
ArmInterruptPin *const ws1
void notify(void) override
Called from the SystemCounter when a change in counting speed occurred Events should be rescheduled p...
ArmInterruptPin *const ws0
Watchdog Signals (IRQs)
Generated on Sun Jul 30 2023 01:56:55 for gem5 by doxygen 1.8.17