45#include "debug/SimpleDisk.hh"
46#include "debug/SimpleDiskData.hh"
68 panic(
"Not reading a multiple of a sector (count = %d)",
count);
84 panic(
"unimplemented!\n");
#define DDUMP(x, data, count)
DPRINTF is a debugging trace facility that allows one to selectively enable tracing statements.
virtual std::streampos read(uint8_t *data, std::streampos offset) const =0
void writeBlob(Addr addr, const void *p, uint64_t size) const
Same as tryWriteBlob, but insists on success.
Abstract superclass for simulation objects.
void read(Addr addr, baddr_t block, int count) const
SimpleDisk(const Params &p)
void write(Addr addr, baddr_t block, int count)
PortProxy physProxy
Port to physical memory used for writing object files into ram at boot.
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
PortProxy Object Declaration.