se_translating_port_proxy.hh (14009:a4b36ce75361) | se_translating_port_proxy.hh (14196:ce364f5517f3) |
---|---|
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 --- 66 unchanged lines hidden (view full) --- 75 }; 76 77 private: 78 EmulationPageTable *pTable; 79 Process *process; 80 AllocType allocating; 81 82 public: | 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 --- 66 unchanged lines hidden (view full) --- 75 }; 76 77 private: 78 EmulationPageTable *pTable; 79 Process *process; 80 AllocType allocating; 81 82 public: |
83 SETranslatingPortProxy(MasterPort& port, Process* p, AllocType alloc); | 83 SETranslatingPortProxy(SendFunctionalFunc func, 84 Process* p, AllocType alloc); 85 SETranslatingPortProxy(MasterPort &port, Process* p, AllocType alloc); |
84 ~SETranslatingPortProxy() {} 85 86 void setPageTable(EmulationPageTable *p) { pTable = p; } 87 void setProcess(Process *p) { process = p; } 88 bool tryReadBlob(Addr addr, void *p, int size) const override; 89 bool tryWriteBlob(Addr addr, const void *p, int size) const override; 90 bool tryMemsetBlob(Addr addr, uint8_t val, int size) const override; 91}; 92 93#endif // __MEM_SE_TRANSLATING_PORT_PROXY_HH__ | 86 ~SETranslatingPortProxy() {} 87 88 void setPageTable(EmulationPageTable *p) { pTable = p; } 89 void setProcess(Process *p) { process = p; } 90 bool tryReadBlob(Addr addr, void *p, int size) const override; 91 bool tryWriteBlob(Addr addr, const void *p, int size) const override; 92 bool tryMemsetBlob(Addr addr, uint8_t val, int size) const override; 93}; 94 95#endif // __MEM_SE_TRANSLATING_PORT_PROXY_HH__ |