Deleted Added
sdiff udiff text old ( 8922:17f037ad8918 ) new ( 9814:7ad2b0186a32 )
full compact
1/*
2 * Copyright (c) 2011-2012 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

83 */
84class PortProxy
85{
86 private:
87
88 /** The actual physical port used by this proxy. */
89 MasterPort &_port;
90
91 void blobHelper(Addr addr, uint8_t *p, int size, MemCmd cmd) const;
92
93 public:
94 PortProxy(MasterPort &port) : _port(port) { }
95 virtual ~PortProxy() { }
96
97 /**
98 * Read size bytes memory at address and store in p.
99 */
100 virtual void readBlob(Addr addr, uint8_t* p, int size) const
101 { blobHelper(addr, p, size, MemCmd::ReadReq); }
102

--- 77 unchanged lines hidden ---