faults.hh (12511:99c28b88d4d8) faults.hh (12517:77e8688fc670)
1/*
2 * Copyright (c) 2010, 2012-2013, 2016-2018 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

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

166 const bool abortDisable;
167 const bool fiqDisable;
168
169 // Exception class used to appropriately set the syndrome register
170 // (exceptions taken in HYP mode or in AArch64 state)
171 const ExceptionClass ec;
172
173 FaultStat count;
1/*
2 * Copyright (c) 2010, 2012-2013, 2016-2018 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

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

166 const bool abortDisable;
167 const bool fiqDisable;
168
169 // Exception class used to appropriately set the syndrome register
170 // (exceptions taken in HYP mode or in AArch64 state)
171 const ExceptionClass ec;
172
173 FaultStat count;
174 FaultVals(const FaultName& name_, const FaultOffset& offset_,
175 const uint16_t& currELTOffset_, const uint16_t& currELHOffset_,
176 const uint16_t& lowerEL64Offset_,
177 const uint16_t& lowerEL32Offset_,
178 const OperatingMode& nextMode_, const uint8_t& armPcOffset_,
179 const uint8_t& thumbPcOffset_, const uint8_t& armPcElrOffset_,
180 const uint8_t& thumbPcElrOffset_, const bool& hypTrappable_,
181 const bool& abortDisable_, const bool& fiqDisable_,
182 const ExceptionClass& ec_)
183 : name(name_), offset(offset_), currELTOffset(currELTOffset_),
184 currELHOffset(currELHOffset_), lowerEL64Offset(lowerEL64Offset_),
185 lowerEL32Offset(lowerEL32Offset_), nextMode(nextMode_),
186 armPcOffset(armPcOffset_), thumbPcOffset(thumbPcOffset_),
187 armPcElrOffset(armPcElrOffset_), thumbPcElrOffset(thumbPcElrOffset_),
188 hypTrappable(hypTrappable_), abortDisable(abortDisable_),
189 fiqDisable(fiqDisable_), ec(ec_) {}
174 };
175
176 ArmFault(ExtMachInst _machInst = 0, uint32_t _iss = 0) :
177 machInst(_machInst), issRaw(_iss), from64(false), to64(false),
178 fromEL(EL0), toEL(EL0), fromMode(MODE_UNDEFINED), hypRouted(false) {}
179
180 // Returns the actual syndrome register to use based on the target
181 // exception level

--- 414 unchanged lines hidden ---
190 };
191
192 ArmFault(ExtMachInst _machInst = 0, uint32_t _iss = 0) :
193 machInst(_machInst), issRaw(_iss), from64(false), to64(false),
194 fromEL(EL0), toEL(EL0), fromMode(MODE_UNDEFINED), hypRouted(false) {}
195
196 // Returns the actual syndrome register to use based on the target
197 // exception level

--- 414 unchanged lines hidden ---