faults.cc (2680:246e7104f744) faults.cc (2719:d73e952240aa)
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;

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

244}
245
246#endif
247
248#if !FULL_SYSTEM
249
250void TrapInstruction::invoke(ThreadContext * tc)
251{
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;

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

244}
245
246#endif
247
248#if !FULL_SYSTEM
249
250void TrapInstruction::invoke(ThreadContext * tc)
251{
252 tc->syscall(syscall_num);
252 // Should be handled in ISA.
253}
254
255#endif
256
257} // namespace SparcISA
258
253}
254
255#endif
256
257} // namespace SparcISA
258