Deleted Added
sdiff udiff text old ( 9553:2e1e5364dae3 ) new ( 9920:028e4da64b42 )
full compact
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 int
144 flattenMiscIndex(int reg)
145 {
146 if (reg == MISCREG_SPSR) {
147 int spsr_idx = NUM_MISCREGS;
148 CPSR cpsr = miscRegs[MISCREG_CPSR];
149 switch (cpsr.mode) {
150 case MODE_USER:
151 warn("User mode does not have SPSR\n");

--- 58 unchanged lines hidden ---