Deleted Added
sdiff udiff text old ( 2680:246e7104f744 ) new ( 2800:18a615ca6e19 )
full compact
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;

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

78 public:
79 FaultName name() {return _name;}
80 TrapType trapType() {return _trapType;}
81 FaultPriority priority() {return _priority;}
82 FaultStat & countStat() {return _count;}
83 bool isAlignmentFault() {return true;}
84};
85
86static inline Fault genMachineCheckFault()
87{
88 return new InternalProcessorError;
89}
90
91static inline Fault genAlignmentFault()
92{
93 return new MemAddressNotAligned;

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

584 FaultName name() {return _name;}
585 FaultPriority priority() {return _priority;}
586 FaultStat & countStat() {return _count;}
587#if !FULL_SYSTEM
588 void invoke(ThreadContext * tc);
589#endif
590};
591
592} // SparcISA namespace
593
594#endif // __FAULTS_HH__