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; --- 291 unchanged lines hidden (view full) --- 300 301 Fault 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 bool inPalMode() { return thread->inPalMode(); } 309 void ev5_trap(Fault fault) { fault->invoke(tc); } 310 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); } 311#else 312 void syscall(int64_t callnum) { thread->syscall(callnum); } 313#endif 314 315 bool misspeculating() { return thread->misspeculating(); } 316 ThreadContext *tcBase() { return tc; } 317}; 318 319#endif // __CPU_SIMPLE_BASE_HH__ |