port_proxy.cc (12749:223c83ed9979) | port_proxy.cc (14007:36f842f523c6) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 82 // quick and dirty... 83 uint8_t *buf = new uint8_t[size]; 84 85 std::memset(buf, v, size); 86 PortProxy::writeBlobPhys(addr, flags, buf, size); 87 88 delete [] buf; 89} | 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 --- 73 unchanged lines hidden (view full) --- 82 // quick and dirty... 83 uint8_t *buf = new uint8_t[size]; 84 85 std::memset(buf, v, size); 86 PortProxy::writeBlobPhys(addr, flags, buf, size); 87 88 delete [] buf; 89} |
90 91 92void 93SecurePortProxy::readBlob(Addr addr, uint8_t *p, int size) const 94{ 95 readBlobPhys(addr, Request::SECURE, p, size); 96} 97 98void 99SecurePortProxy::writeBlob(Addr addr, const uint8_t *p, int size) const 100{ 101 writeBlobPhys(addr, Request::SECURE, p, size); 102} 103 104void 105SecurePortProxy::memsetBlob(Addr addr, uint8_t v, int size) const 106{ 107 memsetBlobPhys(addr, Request::SECURE, v, size); 108} | |