Deleted Added
sdiff udiff text old ( 7406:ddc26bd4ea7d ) new ( 7427:1267715c2112 )
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

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

86 intRegMap = IntRegUndMap;
87 break;
88 default:
89 panic("Unrecognized mode setting in CPSR.\n");
90 }
91 }
92
93 public:
94 void clear();
95
96 MiscReg readMiscRegNoEffect(int misc_reg);
97 MiscReg readMiscReg(int misc_reg, ThreadContext *tc);
98 void setMiscRegNoEffect(int misc_reg, const MiscReg &val);
99 void setMiscReg(int misc_reg, const MiscReg &val, ThreadContext *tc);
100
101 int
102 flattenIntIndex(int reg)
103 {
104 assert(reg >= 0);
105 if (reg < NUM_ARCH_INTREGS) {
106 return intRegMap[reg];

--- 51 unchanged lines hidden ---