faults.hh (8578:dee1f3ab92e4) | faults.hh (8591:8f23aeaf6a91) |
---|---|
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 --- 114 unchanged lines hidden (view full) --- 123class DspStateDisabledFault : public MipsFault<DspStateDisabledFault> {}; 124 125class MachineCheckFault : public MipsFault<MachineCheckFault> 126{ 127 public: 128 bool isMachineCheckFault() { return true; } 129}; 130 | 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 --- 114 unchanged lines hidden (view full) --- 123class DspStateDisabledFault : public MipsFault<DspStateDisabledFault> {}; 124 125class MachineCheckFault : public MipsFault<MachineCheckFault> 126{ 127 public: 128 bool isMachineCheckFault() { return true; } 129}; 130 |
131static inline Fault genMachineCheckFault() 132{ 133 return new MachineCheckFault; 134} 135 | |
136class ResetFault : public MipsFault<ResetFault> 137{ 138 public: 139 void invoke(ThreadContext * tc, 140 StaticInstPtr inst = StaticInst::nullStaticInstPtr); 141 142}; 143 --- 165 unchanged lines hidden --- | 131class ResetFault : public MipsFault<ResetFault> 132{ 133 public: 134 void invoke(ThreadContext * tc, 135 StaticInstPtr inst = StaticInst::nullStaticInstPtr); 136 137}; 138 --- 165 unchanged lines hidden --- |