port.hh (9090:e4e22240398f) port.hh (9152:86c0e6ca5e7c)
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

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

135 SlavePort* _slavePort;
136
137 public:
138
139 MasterPort(const std::string& name, MemObject* owner,
140 PortID id = InvalidPortID);
141 virtual ~MasterPort();
142
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

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

135 SlavePort* _slavePort;
136
137 public:
138
139 MasterPort(const std::string& name, MemObject* owner,
140 PortID id = InvalidPortID);
141 virtual ~MasterPort();
142
143 void unBind();
143 void bind(SlavePort& slave_port);
144 SlavePort& getSlavePort() const;
145 bool isConnected() const;
146
147 /**
148 * Send an atomic request packet, where the data is moved and the
149 * state is updated in zero time, without interleaving with other
150 * memory accesses.

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

292 MasterPort* _masterPort;
293
294 public:
295
296 SlavePort(const std::string& name, MemObject* owner,
297 PortID id = InvalidPortID);
298 virtual ~SlavePort();
299
144 void bind(SlavePort& slave_port);
145 SlavePort& getSlavePort() const;
146 bool isConnected() const;
147
148 /**
149 * Send an atomic request packet, where the data is moved and the
150 * state is updated in zero time, without interleaving with other
151 * memory accesses.

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

293 MasterPort* _masterPort;
294
295 public:
296
297 SlavePort(const std::string& name, MemObject* owner,
298 PortID id = InvalidPortID);
299 virtual ~SlavePort();
300
301 void unBind();
300 void bind(MasterPort& master_port);
301 MasterPort& getMasterPort() const;
302 bool isConnected() const;
303
304 /**
305 * Send an atomic snoop request packet, where the data is moved
306 * and the state is updated in zero time, without interleaving
307 * with other memory accesses.

--- 112 unchanged lines hidden ---
302 void bind(MasterPort& master_port);
303 MasterPort& getMasterPort() const;
304 bool isConnected() const;
305
306 /**
307 * Send an atomic snoop request packet, where the data is moved
308 * and the state is updated in zero time, without interleaving
309 * with other memory accesses.

--- 112 unchanged lines hidden ---