bridge.cc (9786:03a075377221) | bridge.cc (9814:7ad2b0186a32) |
---|---|
1/* 2 * Copyright (c) 2011-2013 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 --- 96 unchanged lines hidden (view full) --- 105 106void 107Bridge::init() 108{ 109 // make sure both sides are connected and have the same block size 110 if (!slavePort.isConnected() || !masterPort.isConnected()) 111 fatal("Both ports of bus bridge are not connected to a bus.\n"); 112 | 1/* 2 * Copyright (c) 2011-2013 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 --- 96 unchanged lines hidden (view full) --- 105 106void 107Bridge::init() 108{ 109 // make sure both sides are connected and have the same block size 110 if (!slavePort.isConnected() || !masterPort.isConnected()) 111 fatal("Both ports of bus bridge are not connected to a bus.\n"); 112 |
113 if (slavePort.peerBlockSize() != masterPort.peerBlockSize()) 114 fatal("Slave port size %d, master port size %d \n " \ 115 "Busses don't have the same block size... Not supported.\n", 116 slavePort.peerBlockSize(), masterPort.peerBlockSize()); 117 | |
118 // notify the master side of our address ranges 119 slavePort.sendRangeChange(); 120} 121 122bool 123Bridge::BridgeSlavePort::respQueueFull() const 124{ 125 return outstandingResponses == respQueueLimit; --- 292 unchanged lines hidden --- | 113 // notify the master side of our address ranges 114 slavePort.sendRangeChange(); 115} 116 117bool 118Bridge::BridgeSlavePort::respQueueFull() const 119{ 120 return outstandingResponses == respQueueLimit; --- 292 unchanged lines hidden --- |