Deleted Added
sdiff udiff text old ( 12109:f29e9c5418aa ) new ( 12477:3d6c49bc7290 )
full compact
1/*
2 * Copyright (c) 2010, 2012-2016 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

86 bool haveSecurity;
87 bool haveLPAE;
88 bool haveVirtualization;
89 bool haveLargeAsid64;
90 uint8_t physAddrRange64;
91
92 /** Register translation entry used in lookUpMiscReg */
93 struct MiscRegLUTEntry {
94 uint32_t lower;
95 uint32_t upper;
96 };
97
98 struct MiscRegInitializerEntry {
99 uint32_t index;
100 struct MiscRegLUTEntry entry;
101 };
102
103 /** Register table noting all translations */
104 static const struct MiscRegInitializerEntry MiscRegSwitch[];
105
106 /** Translation table accessible via the value of the register */
107 std::vector<struct MiscRegLUTEntry> lookUpMiscReg;
108
109 MiscReg miscRegs[NumMiscRegs];
110 const IntRegIndex *intRegMap;
111
112 void
113 updateRegMap(CPSR cpsr)
114 {
115 if (cpsr.width == 0) {

--- 345 unchanged lines hidden ---