secure_port_proxy.cc (14007:36f842f523c6) | secure_port_proxy.cc (14008:e36048ba1c2c) |
---|---|
1/* 2 * Copyright (c) 2012, 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 --- 25 unchanged lines hidden (view full) --- 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Hansson 38 */ 39 40#include "mem/secure_port_proxy.hh" 41 | 1/* 2 * Copyright (c) 2012, 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 --- 25 unchanged lines hidden (view full) --- 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Hansson 38 */ 39 40#include "mem/secure_port_proxy.hh" 41 |
42void 43SecurePortProxy::readBlob(Addr addr, uint8_t *p, int size) const | 42bool 43SecurePortProxy::tryReadBlob(Addr addr, uint8_t *p, int size) const |
44{ 45 readBlobPhys(addr, Request::SECURE, p, size); | 44{ 45 readBlobPhys(addr, Request::SECURE, p, size); |
46 return true; |
|
46} 47 | 47} 48 |
48void 49SecurePortProxy::writeBlob(Addr addr, const uint8_t *p, int size) const | 49bool 50SecurePortProxy::tryWriteBlob(Addr addr, const uint8_t *p, int size) const |
50{ 51 writeBlobPhys(addr, Request::SECURE, p, size); | 51{ 52 writeBlobPhys(addr, Request::SECURE, p, size); |
53 return true; |
|
52} 53 | 54} 55 |
54void 55SecurePortProxy::memsetBlob(Addr addr, uint8_t v, int size) const | 56bool 57SecurePortProxy::tryMemsetBlob(Addr addr, uint8_t v, int size) const |
56{ 57 memsetBlobPhys(addr, Request::SECURE, v, size); | 58{ 59 memsetBlobPhys(addr, Request::SECURE, v, size); |
60 return true; |
|
58} | 61} |