Deleted Added
sdiff udiff text old ( 3735:86a7cf4dcc11 ) new ( 3792:dae368e56d0e )
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;

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

298 return thread->setMiscReg(misc_reg, val);
299 }
300
301 void setMiscRegWithEffect(int misc_reg, const MiscReg &val)
302 {
303 return thread->setMiscRegWithEffect(misc_reg, val);
304 }
305
306#if FULL_SYSTEM
307 Fault hwrei() { return thread->hwrei(); }
308 void ev5_trap(Fault fault) { fault->invoke(tc); }
309 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
310#else
311 void syscall(int64_t callnum) { thread->syscall(callnum); }
312#endif
313
314 bool misspeculating() { return thread->misspeculating(); }
315 ThreadContext *tcBase() { return tc; }
316};
317
318#endif // __CPU_SIMPLE_BASE_HH__