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
--- 248 unchanged lines hidden (view full) ---
257 private:
258 static FaultName _name;
259 static FaultVect _vect;
260 static FaultStat _count;
261 public:
262 FaultName name() const {return _name;}
263 FaultVect vect() {return _vect;}
264 FaultStat & countStat() {return _count;}
265 void invoke(ThreadContext * tc,
266 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
267};
268
269class SoftResetFault : public MipsFault
270{
271 private:
272 static FaultName _name;
273 static FaultVect _vect;
274 static FaultStat _count;
--- 310 unchanged lines hidden ---
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
--- 248 unchanged lines hidden (view full) ---
257 private:
258 static FaultName _name;
259 static FaultVect _vect;
260 static FaultStat _count;
261 public:
262 FaultName name() const {return _name;}
263 FaultVect vect() {return _vect;}
264 FaultStat & countStat() {return _count;}
265 void invoke(ThreadContext * tc,
266 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
267};
268
269class SoftResetFault : public MipsFault
270{
271 private:
272 static FaultName _name;
273 static FaultVect _vect;
274 static FaultStat _count;
--- 310 unchanged lines hidden ---