faults.hh (8569:498d3aacd292) faults.hh (8591:8f23aeaf6a91)
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;

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

282 {}
283 // In SE, trap instructions are requesting services from the OS.
284#if !FULL_SYSTEM
285 void invoke(ThreadContext * tc,
286 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
287#endif
288};
289
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;

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

282 {}
283 // In SE, trap instructions are requesting services from the OS.
284#if !FULL_SYSTEM
285 void invoke(ThreadContext * tc,
286 StaticInstPtr inst = StaticInst::nullStaticInstPtr);
287#endif
288};
289
290static inline Fault
291genMachineCheckFault()
292{
293 return new InternalProcessorError;
294}
295
296
297} // namespace SparcISA
298
299#endif // __SPARC_FAULTS_HH__
290} // namespace SparcISA
291
292#endif // __SPARC_FAULTS_HH__