36 #include <sys/types.h> 45 #include "debug/SimpleDisk.hh" 46 #include "debug/SimpleDiskData.hh" 67 panic(
"Not reading a multiple of a sector (count = %d)", count);
75 DDUMP(SimpleDiskData, data, count);
83 panic(
"unimplemented!\n");
87 SimpleDiskParams::create()
#define panic(...)
This implements a cprintf based panic() function.
#define DDUMP(x, data, count)
Overload hash function for BasicBlockRange type.
void read(Addr addr, baddr_t block, int count) const
PortProxy physProxy
Port to physical memory used for writing object files into ram at boot.
PortProxy Object Declaration.
void write(Addr addr, baddr_t block, int count)
void writeBlob(Addr addr, const void *p, int size) const
Same as tryWriteBlob, but insists on success.
SimpleDisk(const Params *p)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual std::streampos read(uint8_t *data, std::streampos offset) const =0
Abstract superclass for simulation objects.