1/* 2 * Copyright (c) 2010-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 --- 163 unchanged lines hidden (view full) --- 172 173 miscRegs[MISCREG_FPSID] = p->fpsid; 174 175 176 //XXX We need to initialize the rest of the state. 177} 178 179MiscReg |
180ISA::readMiscRegNoEffect(int misc_reg) const |
181{ 182 assert(misc_reg < NumMiscRegs); 183 184 int flat_idx; 185 if (misc_reg == MISCREG_SPSR) 186 flat_idx = flattenMiscIndex(misc_reg); 187 else 188 flat_idx = misc_reg; --- 483 unchanged lines hidden --- |