se_translating_port_proxy.hh (10298:77af86f37337) | se_translating_port_proxy.hh (10564:a8c16e2d466a) |
---|---|
1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 70 unchanged lines hidden (view full) --- 79 Process *process; 80 AllocType allocating; 81 82 public: 83 SETranslatingPortProxy(MasterPort& port, Process* p, AllocType alloc); 84 virtual ~SETranslatingPortProxy(); 85 86 bool tryReadBlob(Addr addr, uint8_t *p, int size) const; | 1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 70 unchanged lines hidden (view full) --- 79 Process *process; 80 AllocType allocating; 81 82 public: 83 SETranslatingPortProxy(MasterPort& port, Process* p, AllocType alloc); 84 virtual ~SETranslatingPortProxy(); 85 86 bool tryReadBlob(Addr addr, uint8_t *p, int size) const; |
87 bool tryWriteBlob(Addr addr, uint8_t *p, int size) const; | 87 bool tryWriteBlob(Addr addr, const uint8_t *p, int size) const; |
88 bool tryMemsetBlob(Addr addr, uint8_t val, int size) const; 89 bool tryWriteString(Addr addr, const char *str) const; 90 bool tryReadString(std::string &str, Addr addr) const; 91 92 virtual void readBlob(Addr addr, uint8_t *p, int size) const; | 88 bool tryMemsetBlob(Addr addr, uint8_t val, int size) const; 89 bool tryWriteString(Addr addr, const char *str) const; 90 bool tryReadString(std::string &str, Addr addr) const; 91 92 virtual void readBlob(Addr addr, uint8_t *p, int size) const; |
93 virtual void writeBlob(Addr addr, uint8_t *p, int size) const; | 93 virtual void writeBlob(Addr addr, const uint8_t *p, int size) const; |
94 virtual void memsetBlob(Addr addr, uint8_t val, int size) const; 95 96 void writeString(Addr addr, const char *str) const; 97 void readString(std::string &str, Addr addr) const; 98}; 99 100#endif // __MEM_SE_TRANSLATING_PORT_PROXY_HH__ | 94 virtual void memsetBlob(Addr addr, uint8_t val, int size) const; 95 96 void writeString(Addr addr, const char *str) const; 97 void readString(std::string &str, Addr addr) const; 98}; 99 100#endif // __MEM_SE_TRANSLATING_PORT_PROXY_HH__ |