port_proxy.hh (8861:56d011130987) | port_proxy.hh (8922:17f037ad8918) |
---|---|
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 --- 72 unchanged lines hidden (view full) --- 81 * @sa SETranslatingProxy 82 * @sa FSTranslatingProxy 83 */ 84class PortProxy 85{ 86 private: 87 88 /** The actual physical port used by this proxy. */ | 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 --- 72 unchanged lines hidden (view full) --- 81 * @sa SETranslatingProxy 82 * @sa FSTranslatingProxy 83 */ 84class PortProxy 85{ 86 private: 87 88 /** The actual physical port used by this proxy. */ |
89 Port &_port; | 89 MasterPort &_port; |
90 91 void blobHelper(Addr addr, uint8_t *p, int size, MemCmd cmd) const; 92 93 public: | 90 91 void blobHelper(Addr addr, uint8_t *p, int size, MemCmd cmd) const; 92 93 public: |
94 PortProxy(Port &port) : _port(port) { } | 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 --- | 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 --- |