faults.hh (12517:77e8688fc670) faults.hh (13583:f7482392b097)
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;

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

349
350
351void enterREDState(ThreadContext *tc);
352
353void doREDFault(ThreadContext *tc, TrapType tt);
354
355void doNormalFault(ThreadContext *tc, TrapType tt, bool gotoHpriv);
356
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;

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

349
350
351void enterREDState(ThreadContext *tc);
352
353void doREDFault(ThreadContext *tc, TrapType tt);
354
355void doNormalFault(ThreadContext *tc, TrapType tt, bool gotoHpriv);
356
357void getREDVector(MiscReg TT, Addr &PC, Addr &NPC);
357void getREDVector(RegVal TT, Addr &PC, Addr &NPC);
358
358
359void getHyperVector(ThreadContext * tc, Addr &PC, Addr &NPC, MiscReg TT);
359void getHyperVector(ThreadContext * tc, Addr &PC, Addr &NPC, RegVal TT);
360
360
361void getPrivVector(ThreadContext *tc, Addr &PC, Addr &NPC, MiscReg TT,
362 MiscReg TL);
361void getPrivVector(ThreadContext *tc, Addr &PC, Addr &NPC, RegVal TT,
362 RegVal TL);
363
364} // namespace SparcISA
365
366#endif // __SPARC_FAULTS_HH__
363
364} // namespace SparcISA
365
366#endif // __SPARC_FAULTS_HH__