smmu_v3_cmdexec.cc (14039:4991b2a345a1) smmu_v3_cmdexec.cc (14064:870553bad072)
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

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

70 // This deliberately resets the error field in cmdq_cons!
71 smmu.regs.cmdq_cons = (smmu.regs.cmdq_cons + 1) & sizeMask;
72
73 doRead(yield, cmdAddr, &cmd, sizeof(SMMUCommand));
74 smmu.processCommand(cmd);
75 }
76
77 busy = false;
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

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

70 // This deliberately resets the error field in cmdq_cons!
71 smmu.regs.cmdq_cons = (smmu.regs.cmdq_cons + 1) & sizeMask;
72
73 doRead(yield, cmdAddr, &cmd, sizeof(SMMUCommand));
74 smmu.processCommand(cmd);
75 }
76
77 busy = false;
78 // No more commands to process, signal the SMMU as drained
79 smmu.signalDrainDone();
78
79 doSleep(yield);
80 }
81}
80
81 doSleep(yield);
82 }
83}