36 #ifndef __DEV_BADDEV_HH__ 37 #define __DEV_BADDEV_HH__ 40 #include "params/BadDevice.hh" 60 return dynamic_cast<const Params *
>(
_params);
75 #endif // __DEV_BADDEV_HH__
const Params * params() const
uint64_t Tick
Tick count type.
virtual Tick write(PacketPtr pkt)
Pure virtual function that the device must implement.
BadDevice This device just panics when accessed.
virtual Tick read(PacketPtr pkt)
Pure virtual function that the device must implement.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
BadDevice(Params *p)
Constructor for the Baddev Class.
const SimObjectParams * _params
Cached copy of the object parameters.