1/*
2 * Copyright (c) 2013, 2018-2019 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

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

150
151 doSemaphoreDown(yield, ifc.slavePortSem);
152 doDelay(yield, Cycles(numSlaveBeats));
153 doSemaphoreUp(ifc.slavePortSem);
154
155
156 recvTick = curTick();
157
158
159 if (!(smmu.regs.cr0 & 0x1)) {
158 if (!(smmu.regs.cr0 & CR0_SMMUEN_MASK)) {
159 // SMMU disabled
160 doDelay(yield, Cycles(1));
161 completeTransaction(yield, bypass(request.addr));
162 return;
163 }
164
165 TranslResult tr;
166 bool wasPrefetched = false;

--- 1304 unchanged lines hidden ---