1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

543 static FaultPriority _priority;
544 static FaultStat _count;
545 TrapType baseTrapType() {return _baseTrapType;}
546 public:
547 SpillNNormal(uint32_t n) : EnumeratedFault(n) {;}
548 FaultName name() {return _name;}
549 FaultPriority priority() {return _priority;}
550 FaultStat & countStat() {return _count;}
551 //These need to be handled specially to enable spill traps in SE
552#if !FULL_SYSTEM
553 void invoke(ThreadContext * tc);
554#endif
555};
556
557class SpillNOther : public EnumeratedFault
558{
559 private:
560 static FaultName _name;
561 static TrapType _baseTrapType;
562 static FaultPriority _priority;

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

577 static FaultPriority _priority;
578 static FaultStat _count;
579 TrapType baseTrapType() {return _baseTrapType;}
580 public:
581 FillNNormal(uint32_t n) : EnumeratedFault(n) {;}
582 FaultName name() {return _name;}
583 FaultPriority priority() {return _priority;}
584 FaultStat & countStat() {return _count;}
585 //These need to be handled specially to enable fill traps in SE
586#if !FULL_SYSTEM
587 void invoke(ThreadContext * tc);
588#endif
589};
590
591class FillNOther : public EnumeratedFault
592{
593 private:
594 static FaultName _name;
595 static TrapType _baseTrapType;
596 static FaultPriority _priority;

--- 28 unchanged lines hidden ---