Deleted Added
sdiff udiff text old ( 11800:54436a1784dc ) new ( 11886:43b882cada33 )
full compact
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

--- 69 unchanged lines hidden (view full) ---

78 PageTableBase *pTable;
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, 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;
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__