faults.hh (7640:5286a8a469c5) faults.hh (7652:f2621206b062)
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

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

222 DataAbort(Addr _addr, uint8_t _domain, bool _write, uint8_t _status) :
223 AbortFault<DataAbort>(_addr, _write, _domain, _status)
224 {}
225};
226
227class Interrupt : public ArmFaultVals<Interrupt> {};
228class FastInterrupt : public ArmFaultVals<FastInterrupt> {};
229
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

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

222 DataAbort(Addr _addr, uint8_t _domain, bool _write, uint8_t _status) :
223 AbortFault<DataAbort>(_addr, _write, _domain, _status)
224 {}
225};
226
227class Interrupt : public ArmFaultVals<Interrupt> {};
228class FastInterrupt : public ArmFaultVals<FastInterrupt> {};
229
230// A fault that flushes the pipe, excluding the faulting instructions
231class FlushPipe : public ArmFaultVals<FlushPipe>
232{
233 public:
234 FlushPipe() {}
235 void invoke(ThreadContext *tc);
236};
237
230static inline Fault genMachineCheckFault()
231{
232 return new Reset();
233}
234
235} // ArmISA namespace
236
237#endif // __ARM_FAULTS_HH__
238static inline Fault genMachineCheckFault()
239{
240 return new Reset();
241}
242
243} // ArmISA namespace
244
245#endif // __ARM_FAULTS_HH__