faults.hh (7189:28998288c48b) faults.hh (7197:21b9790c446d)
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

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

120 machInst(_machInst), unknown(_unknown), mnemonic(_mnemonic)
121 {
122 }
123
124 void invoke(ThreadContext *tc);
125#endif
126};
127
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

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

120 machInst(_machInst), unknown(_unknown), mnemonic(_mnemonic)
121 {
122 }
123
124 void invoke(ThreadContext *tc);
125#endif
126};
127
128class SupervisorCall : public ArmFault<SupervisorCall> {};
128class SupervisorCall : public ArmFault
129{
130#if !FULL_SYSTEM
131 protected:
132 ExtMachInst machInst;
133
134 public:
135 SupervisorCall(ExtMachInst _machInst) : machInst(_machInst)
136 {}
137
138 void invoke(ThreadContext *tc);
139#endif
140};
129class PrefetchAbort : public ArmFault<PrefetchAbort> {};
130class DataAbort : public ArmFault<DataAbort> {};
131class Interrupt : public ArmFault<Interrupt> {};
132class FastInterrupt : public ArmFault<FastInterrupt> {};
133
134
135} // ArmISA namespace
136
137#endif // __ARM_FAULTS_HH__
141class PrefetchAbort : public ArmFault<PrefetchAbort> {};
142class DataAbort : public ArmFault<DataAbort> {};
143class Interrupt : public ArmFault<Interrupt> {};
144class FastInterrupt : public ArmFault<FastInterrupt> {};
145
146
147} // ArmISA namespace
148
149#endif // __ARM_FAULTS_HH__