Deleted Added
sdiff udiff text old ( 14019:4732393f8210 ) new ( 14196:ce364f5517f3 )
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

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

74{
75 private:
76 ThreadContext* _tc;
77
78 public:
79
80 FSTranslatingPortProxy(ThreadContext* tc);
81
82 FSTranslatingPortProxy(MasterPort &port, unsigned int cacheLineSize);
83
84 ~FSTranslatingPortProxy() {}
85
86 /** Version of tryReadblob that translates virt->phys and deals
87 * with page boundries. */
88 bool tryReadBlob(Addr addr, void *p, int size) const override;
89
90 /** Version of tryWriteBlob that translates virt->phys and deals
91 * with page boundries. */
92 bool tryWriteBlob(Addr addr, const void *p, int size) const override;
93
94 /**
95 * Fill size bytes starting at addr with byte value val.
96 */
97 bool tryMemsetBlob(Addr address, uint8_t v, int size) const override;
98};
99
100#endif //__MEM_FS_TRANSLATING_PORT_PROXY_HH__