1/* 2 * Copyright (c) 2010 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 --- 126 unchanged lines hidden (view full) --- 135 } 136 137 int 138 flattenFloatIndex(int reg) 139 { 140 return reg; 141 } 142 |
143 // dummy |
144 int |
145 flattenCCIndex(int reg) 146 { 147 return reg; 148 } 149 150 int |
151 flattenMiscIndex(int reg) 152 { 153 if (reg == MISCREG_SPSR) { 154 int spsr_idx = NUM_MISCREGS; 155 CPSR cpsr = miscRegs[MISCREG_CPSR]; 156 switch (cpsr.mode) { 157 case MODE_USER: 158 warn("User mode does not have SPSR\n"); --- 58 unchanged lines hidden --- |