summaryrefslogtreecommitdiff
path: root/mem/translating_port.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 16:38:16 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 16:38:16 -0500
commit2d9c9dba37499d87ee599388aca5502279ce953a (patch)
tree263847b0bc4a20d0b138bcb51066c82f6f58f8bb /mem/translating_port.hh
parent159cee171976019badb17336eff5b69df3c89528 (diff)
downloadgem5-2d9c9dba37499d87ee599388aca5502279ce953a.tar.xz
Get rid of "Functional" suffix from (read|write)(Blob|String) functions.
--HG-- extra : convert_revision : 1456308af0fd686dff53ec1baddd7747354e1c0a
Diffstat (limited to 'mem/translating_port.hh')
-rw-r--r--mem/translating_port.hh24
1 files changed, 10 insertions, 14 deletions
diff --git a/mem/translating_port.hh b/mem/translating_port.hh
index eaecff35a..acbc3fabc 100644
--- a/mem/translating_port.hh
+++ b/mem/translating_port.hh
@@ -48,21 +48,17 @@ class TranslatingPort
virtual ~TranslatingPort();
public:
- bool tryReadBlobFunctional(Addr addr, uint8_t *p, int size);
- bool tryWriteBlobFunctional(Addr addr, uint8_t *p, int size,
- bool alloc = false);
- bool tryMemsetBlobFunctional(Addr addr, uint8_t val, int size,
- bool alloc = false);
- bool tryWriteStringFunctional(Addr addr, const char *str);
- bool tryReadStringFunctional(std::string &str, Addr addr);
+ bool tryReadBlob(Addr addr, uint8_t *p, int size);
+ bool tryWriteBlob(Addr addr, uint8_t *p, int size, bool alloc = false);
+ bool tryMemsetBlob(Addr addr, uint8_t val, int size, bool alloc = false);
+ bool tryWriteString(Addr addr, const char *str);
+ bool tryReadString(std::string &str, Addr addr);
- void readBlobFunctional(Addr addr, uint8_t *p, int size);
- void writeBlobFunctional(Addr addr, uint8_t *p, int size,
- bool alloc = false);
- void memsetBlobFunctional(Addr addr, uint8_t val, int size,
- bool alloc = false);
- void writeStringFunctional(Addr addr, const char *str);
- void readStringFunctional(std::string &str, Addr addr);
+ void readBlob(Addr addr, uint8_t *p, int size);
+ void writeBlob(Addr addr, uint8_t *p, int size, bool alloc = false);
+ void memsetBlob(Addr addr, uint8_t val, int size, bool alloc = false);
+ void writeString(Addr addr, const char *str);
+ void readString(std::string &str, Addr addr);
};
#endif