Deleted Added
sdiff udiff text old ( 5169:bfd18d401251 ) new ( 5222:bb733a878f85 )
full compact
1/*
2 * Copyright (c) 2002-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;

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

373 }
374
375 void setRegOtherThread(int regIdx, const MiscReg &val, int tid = -1)
376 {
377 panic("Simple CPU models do not support multithreaded "
378 "register access.\n");
379 }
380
381#if FULL_SYSTEM
382 Fault hwrei() { return thread->hwrei(); }
383 void ev5_trap(Fault fault) { fault->invoke(tc); }
384 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
385#else
386 void syscall(int64_t callnum) { thread->syscall(callnum); }
387#endif
388
389 bool misspeculating() { return thread->misspeculating(); }
390 ThreadContext *tcBase() { return tc; }
391};
392
393#endif // __CPU_SIMPLE_BASE_HH__