summaryrefslogtreecommitdiff
path: root/src/mem/secure_port_proxy.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-05-01 19:03:28 -0700
committerGabe Black <gabeblack@google.com>2019-05-29 04:23:18 +0000
commit6a69fc18e743006db013797531d9ebcdb352a88d (patch)
tree3ece9c4d7530bdb04bcc93946e13f97b13715903 /src/mem/secure_port_proxy.hh
parentac65b6ee7f470e73a39197d30e4190f6a538e567 (diff)
downloadgem5-6a69fc18e743006db013797531d9ebcdb352a88d.tar.xz
mem, arm: Move some helper methods into the base PortProxy class.
These were originally in the SETranslatingPortProxy class, but they're not specific to SE mode in any way and are an unnecessary divergence between the SE and FS mode translating port proxies. Change-Id: I8cb77531cc287bd15b2386410ffa7b43cdfa67d0 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18570 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem/secure_port_proxy.hh')
-rw-r--r--src/mem/secure_port_proxy.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/secure_port_proxy.hh b/src/mem/secure_port_proxy.hh
index 857d70bc8..032331210 100644
--- a/src/mem/secure_port_proxy.hh
+++ b/src/mem/secure_port_proxy.hh
@@ -73,9 +73,9 @@ class SecurePortProxy : public PortProxy
SecurePortProxy(MasterPort &port, unsigned int cache_line_size)
: PortProxy(port, cache_line_size) {}
- void readBlob(Addr addr, uint8_t *p, int size) const override;
- void writeBlob(Addr addr, const uint8_t *p, int size) const override;
- void memsetBlob(Addr addr, uint8_t val, int size) const override;
+ bool tryReadBlob(Addr addr, uint8_t *p, int size) const override;
+ bool tryWriteBlob(Addr addr, const uint8_t *p, int size) const override;
+ bool tryMemsetBlob(Addr addr, uint8_t val, int size) const override;
};
#endif // __MEM_SECURE_PORT_PROXY_HH__