faults.hh (8545:a3992291e230) faults.hh (8591:8f23aeaf6a91)
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

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

237class FlushPipe : public ArmFaultVals<FlushPipe>
238{
239 public:
240 FlushPipe() {}
241 void invoke(ThreadContext *tc,
242 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
243};
244
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

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

237class FlushPipe : public ArmFaultVals<FlushPipe>
238{
239 public:
240 FlushPipe() {}
241 void invoke(ThreadContext *tc,
242 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
243};
244
245static inline Fault genMachineCheckFault()
246{
247 return new Reset();
248}
249
250// A fault that flushes the pipe, excluding the faulting instructions
251class ArmSev : public ArmFaultVals<ArmSev>
252{
253 public:
254 ArmSev () {}
255 void invoke(ThreadContext *tc,
256 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
257};
258
259} // namespace ArmISA
260
261#endif // __ARM_FAULTS_HH__
245// A fault that flushes the pipe, excluding the faulting instructions
246class ArmSev : public ArmFaultVals<ArmSev>
247{
248 public:
249 ArmSev () {}
250 void invoke(ThreadContext *tc,
251 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
252};
253
254} // namespace ArmISA
255
256#endif // __ARM_FAULTS_HH__