faults.hh (8570:ea93f18eead8) | faults.hh (8571:13103d610fb7) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 71 unchanged lines hidden (view full) --- 80}; 81 82class MachineCheckFault : public MipsFault<MachineCheckFault> 83{ 84 public: 85 bool isMachineCheckFault() {return true;} 86}; 87 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 71 unchanged lines hidden (view full) --- 80}; 81 82class MachineCheckFault : public MipsFault<MachineCheckFault> 83{ 84 public: 85 bool isMachineCheckFault() {return true;} 86}; 87 |
88static inline Fault genMachineCheckFault() 89{ 90 return new MachineCheckFault; 91} 92 |
|
88class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt> 89{ 90 public: 91 bool isNonMaskableInterrupt() {return true;} 92}; 93 94class AddressErrorFault : public MipsFault<AddressErrorFault> 95{ --- 5 unchanged lines hidden (view full) --- 101 {} 102#if FULL_SYSTEM 103 void invoke(ThreadContext * tc, 104 StaticInstPtr inst = StaticInst::nullStaticInstPtr); 105#endif 106 107}; 108 | 93class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt> 94{ 95 public: 96 bool isNonMaskableInterrupt() {return true;} 97}; 98 99class AddressErrorFault : public MipsFault<AddressErrorFault> 100{ --- 5 unchanged lines hidden (view full) --- 106 {} 107#if FULL_SYSTEM 108 void invoke(ThreadContext * tc, 109 StaticInstPtr inst = StaticInst::nullStaticInstPtr); 110#endif 111 112}; 113 |
109static inline Fault genMachineCheckFault() 110{ 111 return new MachineCheckFault; 112} 113 | |
114class ResetFault : public MipsFault<ResetFault> 115{ 116 public: 117 void invoke(ThreadContext * tc, 118 StaticInstPtr inst = StaticInst::nullStaticInstPtr); 119 120}; 121 --- 177 unchanged lines hidden --- | 114class ResetFault : public MipsFault<ResetFault> 115{ 116 public: 117 void invoke(ThreadContext * tc, 118 StaticInstPtr inst = StaticInst::nullStaticInstPtr); 119 120}; 121 --- 177 unchanged lines hidden --- |