secure_port_proxy.hh (14007:36f842f523c6) secure_port_proxy.hh (14008:e36048ba1c2c)
1/*
2 * Copyright (c) 2011-2013, 2018 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

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

68 * The addresses are interpreted as physical addresses to secure memory.
69 */
70class SecurePortProxy : public PortProxy
71{
72 public:
73 SecurePortProxy(MasterPort &port, unsigned int cache_line_size)
74 : PortProxy(port, cache_line_size) {}
75
1/*
2 * Copyright (c) 2011-2013, 2018 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

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

68 * The addresses are interpreted as physical addresses to secure memory.
69 */
70class SecurePortProxy : public PortProxy
71{
72 public:
73 SecurePortProxy(MasterPort &port, unsigned int cache_line_size)
74 : PortProxy(port, cache_line_size) {}
75
76 void readBlob(Addr addr, uint8_t *p, int size) const override;
77 void writeBlob(Addr addr, const uint8_t *p, int size) const override;
78 void memsetBlob(Addr addr, uint8_t val, int size) const override;
76 bool tryReadBlob(Addr addr, uint8_t *p, int size) const override;
77 bool tryWriteBlob(Addr addr, const uint8_t *p, int size) const override;
78 bool tryMemsetBlob(Addr addr, uint8_t val, int size) const override;
79};
80
81#endif // __MEM_SECURE_PORT_PROXY_HH__
79};
80
81#endif // __MEM_SECURE_PORT_PROXY_HH__