external_slave.hh (13799:15badf7874ee) external_slave.hh (13892:0182a0601f66)
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

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

55 * The external port must provide a gem5 SlavePort interface (with the
56 * exception of getAddrRanges which is provided by the ExternalSlave
57 * object).
58 */
59
60#ifndef __MEM_EXTERNAL_SLAVE_HH__
61#define __MEM_EXTERNAL_SLAVE_HH__
62
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

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

55 * The external port must provide a gem5 SlavePort interface (with the
56 * exception of getAddrRanges which is provided by the ExternalSlave
57 * object).
58 */
59
60#ifndef __MEM_EXTERNAL_SLAVE_HH__
61#define __MEM_EXTERNAL_SLAVE_HH__
62
63#include "mem/mem_object.hh"
63#include "mem/port.hh"
64#include "params/ExternalSlave.hh"
64#include "params/ExternalSlave.hh"
65#include "sim/sim_object.hh"
65
66
66class ExternalSlave : public MemObject
67class ExternalSlave : public SimObject
67{
68 public:
69 /** Derive from this class to create an external port interface */
70 class ExternalPort : public SlavePort
71 {
72 protected:
73 ExternalSlave &owner;
74

--- 68 unchanged lines hidden ---
68{
69 public:
70 /** Derive from this class to create an external port interface */
71 class ExternalPort : public SlavePort
72 {
73 protected:
74 ExternalSlave &owner;
75

--- 68 unchanged lines hidden ---