Go to the documentation of this file.
44 void *
p,
int size)
const
49 auto req = std::make_shared<Request>(
55 p =
static_cast<uint8_t *
>(
p) + gen.size();
61 const void *
p,
int size)
const
66 auto req = std::make_shared<Request>(
72 p =
static_cast<const uint8_t *
>(
p) + gen.size();
78 uint8_t
v,
int size)
const
81 uint8_t *buf =
new uint8_t[size];
83 std::memset(buf,
v, size);
virtual bool tryReadBlob(Addr addr, void *p, int size) const
Methods to override in base classes.
void dataStaticConst(const T *p)
Set the data pointer to the following value that should not be freed.
const unsigned int _cacheLineSize
Granularity of any transactions issued through this proxy.
void writeBlobPhys(Addr addr, Request::Flags flags, const void *p, int size) const
Write size bytes from p to physical address.
virtual bool tryWriteBlob(Addr addr, const void *p, int size) const
Write size bytes from p to address.
void memsetBlobPhys(Addr addr, Request::Flags flags, uint8_t v, int size) const
Fill size bytes starting at physical addr with byte value val.
bool tryWriteString(Addr addr, const char *str) const
Write the string str into guest memory at address addr.
void readBlobPhys(Addr addr, Request::Flags flags, void *p, int size) const
Fixed functionality for use in base classes.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
bool done() const
Are we done? That is, did the last call to next() advance past the end of the region?
@ funcRequestorId
This requestor id is used for functional requests that don't come from a particular device.
void dataStatic(T *p)
Set the data pointer to the following value that should not be freed.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
SendFunctionalFunc sendFunctional
This class takes an arbitrary memory region (address/length pair) and generates a series of appropria...
bool tryReadString(std::string &str, Addr addr) const
Reads the string at guest address addr into the std::string str.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17