1 2/* 3 * Copyright (c) 2010-2013 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 141 unchanged lines hidden (view full) --- 150void 151LSQUnit<Impl>::init(O3CPU *cpu_ptr, IEW *iew_ptr, DerivO3CPUParams *params, 152 LSQ *lsq_ptr, unsigned maxLQEntries, unsigned maxSQEntries, 153 unsigned id) 154{ 155 cpu = cpu_ptr; 156 iewStage = iew_ptr; 157 |
158 lsq = lsq_ptr; 159 160 lsqID = id; 161 |
162 DPRINTF(LSQUnit, "Creating LSQUnit%i object.\n",id); 163 |
164 // Add 1 for the sentinel entry (they are circular queues). 165 LQEntries = maxLQEntries + 1; 166 SQEntries = maxSQEntries + 1; 167 168 //Due to uint8_t index in LSQSenderState 169 assert(LQEntries <= 256); 170 assert(SQEntries <= 256); 171 --- 1160 unchanged lines hidden --- |