Go to the documentation of this file.
59 void *
p,
int size)
const
64 auto req = std::make_shared<Request>(
70 p =
static_cast<uint8_t *
>(
p) + gen.size();
76 const void *
p,
int size)
const
81 auto req = std::make_shared<Request>(
87 p =
static_cast<const uint8_t *
>(
p) + gen.size();
93 uint8_t
v,
int size)
const
96 uint8_t *buf =
new uint8_t[size];
98 std::memset(buf,
v, size);
virtual bool tryWriteBlob(Addr addr, const void *p, int size) const
Write size bytes from p to address.
@ funcRequestorId
This requestor id is used for functional requests that don't come from a particular device.
virtual bool tryReadBlob(Addr addr, void *p, int size) const
Methods to override in base classes.
bool tryReadString(std::string &str, Addr addr) const
Reads the string at guest address addr into the std::string str.
void memsetBlobPhys(Addr addr, Request::Flags flags, uint8_t v, int size) const
Fill size bytes starting at physical addr with byte value val.
SendFunctionalFunc sendFunctional
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
This class takes an arbitrary memory region (address/length pair) and generates a series of appropria...
void dataStatic(T *p)
Set the data pointer to the following value that should not be freed.
void sendFunctional(PacketPtr pkt) const
Send a functional request packet, where the data is instantly updated everywhere in the memory system...
bool done() const
Are we done? That is, did the last call to next() advance past the end of the region?
ThreadContext is the external interface to all thread state for anything outside of the CPU.
bool tryWriteString(Addr addr, const char *str) const
Write the string str into guest memory at address addr.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
This object is a proxy for a port or other object which implements the functional response protocol,...
virtual void sendFunctional(PacketPtr pkt)
void writeBlobPhys(Addr addr, Request::Flags flags, const void *p, int size) const
Write size bytes from p to physical address.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
PortProxy(SendFunctionalFunc func, unsigned int cache_line_size)
const unsigned int _cacheLineSize
Granularity of any transactions issued through this proxy.
void dataStaticConst(const T *p)
Set the data pointer to the following value that should not be freed.
void readBlobPhys(Addr addr, Request::Flags flags, void *p, int size) const
Fixed functionality for use in base classes.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:58 for gem5 by doxygen 1.8.17