cpu.hh (7678:f19b6a3a8cec) cpu.hh (7684:ce48527a3edb)
1/*
2 * Copyright (c) 2004-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;

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

362 /** Takes over from another CPU. */
363 virtual void takeOverFrom(BaseCPU *oldCPU);
364
365 /** Get the current instruction sequence number, and increment it. */
366 InstSeqNum getAndIncrementInstSeq()
367 { return globalSeqNum++; }
368
369 /** Traps to handle given fault. */
1/*
2 * Copyright (c) 2004-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;

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

362 /** Takes over from another CPU. */
363 virtual void takeOverFrom(BaseCPU *oldCPU);
364
365 /** Get the current instruction sequence number, and increment it. */
366 InstSeqNum getAndIncrementInstSeq()
367 { return globalSeqNum++; }
368
369 /** Traps to handle given fault. */
370 void trap(Fault fault, ThreadID tid, DynInstPtr inst);
370 void trap(Fault fault, ThreadID tid, StaticInstPtr inst);
371
372#if FULL_SYSTEM
373 /** HW return from error interrupt. */
374 Fault hwrei(ThreadID tid);
375
376 bool simPalCheck(int palFunc, ThreadID tid);
377
378 /** Returns the Fault for any valid interrupt. */

--- 368 unchanged lines hidden ---
371
372#if FULL_SYSTEM
373 /** HW return from error interrupt. */
374 Fault hwrei(ThreadID tid);
375
376 bool simPalCheck(int palFunc, ThreadID tid);
377
378 /** Returns the Fault for any valid interrupt. */

--- 368 unchanged lines hidden ---