bridge.hh (9235:5aa4896ed55a) | bridge.hh (9294:8fb03b13de02) |
---|---|
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 --- 324 unchanged lines hidden (view full) --- 333 /** Slave port of the bridge. */ 334 BridgeSlavePort slavePort; 335 336 /** Master port of the bridge. */ 337 BridgeMasterPort masterPort; 338 339 public: 340 | 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 --- 324 unchanged lines hidden (view full) --- 333 /** Slave port of the bridge. */ 334 BridgeSlavePort slavePort; 335 336 /** Master port of the bridge. */ 337 BridgeMasterPort masterPort; 338 339 public: 340 |
341 virtual MasterPort& getMasterPort(const std::string& if_name, 342 int idx = -1); 343 virtual SlavePort& getSlavePort(const std::string& if_name, int idx = -1); | 341 virtual BaseMasterPort& getMasterPort(const std::string& if_name, 342 PortID idx = InvalidPortID); 343 virtual BaseSlavePort& getSlavePort(const std::string& if_name, 344 PortID idx = InvalidPortID); |
344 345 virtual void init(); 346 347 typedef BridgeParams Params; 348 349 Bridge(Params *p); 350}; 351 352#endif //__MEM_BUS_HH__ | 345 346 virtual void init(); 347 348 typedef BridgeParams Params; 349 350 Bridge(Params *p); 351}; 352 353#endif //__MEM_BUS_HH__ |