faults.cc (3523:f145bc050815) faults.cc (3531:51eb743f38f5)
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;

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

394 hstick_cmprFields.tick_cmpr = 0; // Reset to 0 for pretty printing
395 */
396}
397
398#endif
399
400#if !FULL_SYSTEM
401
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;

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

394 hstick_cmprFields.tick_cmpr = 0; // Reset to 0 for pretty printing
395 */
396}
397
398#endif
399
400#if !FULL_SYSTEM
401
402void TrapInstruction::invoke(ThreadContext * tc)
403{
404 // Should be handled in ISA.
405}
406
407void SpillNNormal::invoke(ThreadContext *tc)
408{
409 doNormalFault(tc, trapType());
410
411 Process *p = tc->getProcessPtr();
412
413 //This will only work in faults from a SparcLiveProcess
414 SparcLiveProcess *lp = dynamic_cast<SparcLiveProcess *>(p);

--- 50 unchanged lines hidden ---
402void SpillNNormal::invoke(ThreadContext *tc)
403{
404 doNormalFault(tc, trapType());
405
406 Process *p = tc->getProcessPtr();
407
408 //This will only work in faults from a SparcLiveProcess
409 SparcLiveProcess *lp = dynamic_cast<SparcLiveProcess *>(p);

--- 50 unchanged lines hidden ---