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 void setShadowSet(int css) { 382 panic("Simple CPU models do not support Shadow Sets"); 383 //tc->setShadowSet(css); 384 } 385 386 Fault CacheOp(uint8_t Op, Addr EA); |
387#if FULL_SYSTEM 388 Fault hwrei() { return thread->hwrei(); } 389 void ev5_trap(Fault fault) { fault->invoke(tc); } 390 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); } 391#else 392 void syscall(int64_t callnum) { thread->syscall(callnum); } 393#endif 394 395 bool misspeculating() { return thread->misspeculating(); } 396 ThreadContext *tcBase() { return tc; } 397}; 398 399#endif // __CPU_SIMPLE_BASE_HH__ |