faults.hh (3531:51eb743f38f5) | faults.hh (3552:186aa07d5fa1) |
---|---|
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;} | 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 |
|
551 void invoke(ThreadContext * tc); | 553 void invoke(ThreadContext * tc); |
554#endif |
|
552}; 553 554class SpillNOther : public EnumeratedFault 555{ 556 private: 557 static FaultName _name; 558 static TrapType _baseTrapType; 559 static FaultPriority _priority; --- 14 unchanged lines hidden (view full) --- 574 static FaultPriority _priority; 575 static FaultStat _count; 576 TrapType baseTrapType() {return _baseTrapType;} 577 public: 578 FillNNormal(uint32_t n) : EnumeratedFault(n) {;} 579 FaultName name() {return _name;} 580 FaultPriority priority() {return _priority;} 581 FaultStat & countStat() {return _count;} | 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 |
|
582 void invoke(ThreadContext * tc); | 587 void invoke(ThreadContext * tc); |
588#endif |
|
583}; 584 585class FillNOther : public EnumeratedFault 586{ 587 private: 588 static FaultName _name; 589 static TrapType _baseTrapType; 590 static FaultPriority _priority; --- 28 unchanged lines hidden --- | 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 --- |