38#include "params/BadDevice.hh"
This devices just panics when touched.
BadDevice(const Params &p)
Constructor for the Baddev Class.
virtual Tick read(PacketPtr pkt)
Pure virtual function that the device must implement.
virtual Tick write(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....
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.