faults.hh (3574:dbddfe6ebb2d) faults.hh (3575:295e99015da6)
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;

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

223{
224 public:
225 FillNOther(uint32_t n) :
226 EnumeratedFault<FillNOther>(n) {;}
227};
228
229class TrapInstruction : public EnumeratedFault<TrapInstruction>
230{
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;

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

223{
224 public:
225 FillNOther(uint32_t n) :
226 EnumeratedFault<FillNOther>(n) {;}
227};
228
229class TrapInstruction : public EnumeratedFault<TrapInstruction>
230{
231
231 public:
232 public:
232 TrapInstruction(uint32_t n, uint64_t syscall) :
233 EnumeratedFault<TrapInstruction>(n), syscall_num(syscall) {;}
233 TrapInstruction(uint32_t n) :
234 EnumeratedFault(n) {;}
234};
235
236
237} // SparcISA namespace
238
239#endif // __FAULTS_HH__
235};
236
237
238} // SparcISA namespace
239
240#endif // __FAULTS_HH__