external_slave.cc (10713:eddb533708cb) | external_slave.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2012-2014 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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: Andrew Bardsley 38 */ 39 | 1/* 2 * Copyright (c) 2012-2014 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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: Andrew Bardsley 38 */ 39 |
40#include "mem/external_slave.hh" 41 |
|
40#include <cctype> 41#include <iomanip> 42 43#include "debug/ExternalPort.hh" | 42#include <cctype> 43#include <iomanip> 44 45#include "debug/ExternalPort.hh" |
44#include "mem/external_slave.hh" | |
45 46/** Implement a `stub' port which just responds to requests by printing 47 * a message. The stub port can be used to configure and test a system 48 * where the external port is used for a peripheral before connecting 49 * the external port */ 50class StubSlavePort : public ExternalSlave::Port 51{ 52 public: --- 200 unchanged lines hidden --- | 46 47/** Implement a `stub' port which just responds to requests by printing 48 * a message. The stub port can be used to configure and test a system 49 * where the external port is used for a peripheral before connecting 50 * the external port */ 51class StubSlavePort : public ExternalSlave::Port 52{ 53 public: --- 200 unchanged lines hidden --- |