Lines Matching defs:addr

119     void readBlobPhys(Addr addr, Request::Flags flags,
125 void writeBlobPhys(Addr addr, Request::Flags flags,
129 * Fill size bytes starting at physical addr with byte value val.
131 void memsetBlobPhys(Addr addr, Request::Flags flags,
143 tryReadBlob(Addr addr, void *p, int size) const
145 readBlobPhys(addr, 0, p, size);
154 tryWriteBlob(Addr addr, const void *p, int size) const
156 writeBlobPhys(addr, 0, p, size);
161 * Fill size bytes starting at addr with byte value val.
165 tryMemsetBlob(Addr addr, uint8_t val, int size) const
167 memsetBlobPhys(addr, 0, val, size);
179 readBlob(Addr addr, void *p, int size) const
181 if (!tryReadBlob(addr, p, size))
182 fatal("readBlob(%#x, ...) failed", addr);
189 writeBlob(Addr addr, const void *p, int size) const
191 if (!tryWriteBlob(addr, p, size))
192 fatal("writeBlob(%#x, ...) failed", addr);
199 memsetBlob(Addr addr, uint8_t v, int size) const
201 if (!tryMemsetBlob(addr, v, size))
202 fatal("memsetBlob(%#x, ...) failed", addr);
232 * Write the string str into guest memory at address addr.
235 bool tryWriteString(Addr addr, const char *str) const;
241 writeString(Addr addr, const char *str) const
243 if (!tryWriteString(addr, str))
244 fatal("writeString(%#x, ...) failed", addr);
248 * Reads the string at guest address addr into the std::string str.
251 bool tryReadString(std::string &str, Addr addr) const;
257 readString(std::string &str, Addr addr) const
259 if (!tryReadString(str, addr))
260 fatal("readString(%#x, ...) failed", addr);
264 * Reads the string at guest address addr into the char * str, reading up
268 bool tryReadString(char *str, Addr addr, size_t maxlen) const;
274 readString(char *str, Addr addr, size_t maxlen) const
276 if (!tryReadString(str, addr, maxlen))
277 fatal("readString(%#x, ...) failed", addr);