thread_context.hh (5715:e8c1d4e669a7) thread_context.hh (5958:2d9737bf3c2f)
1/*
2 * Copyright (c) 2006 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;

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

272 checkerTC->setStCondFailures(sc_failures);
273 actualTC->setStCondFailures(sc_failures);
274 }
275
276 // @todo: Fix this!
277 bool misspeculating() { return actualTC->misspeculating(); }
278
279#if !FULL_SYSTEM
1/*
2 * Copyright (c) 2006 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;

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

272 checkerTC->setStCondFailures(sc_failures);
273 actualTC->setStCondFailures(sc_failures);
274 }
275
276 // @todo: Fix this!
277 bool misspeculating() { return actualTC->misspeculating(); }
278
279#if !FULL_SYSTEM
280 IntReg getSyscallArg(int i) { return actualTC->getSyscallArg(i); }
281
282 // used to shift args for indirect syscall
283 void setSyscallArg(int i, IntReg val)
284 {
285 checkerTC->setSyscallArg(i, val);
286 actualTC->setSyscallArg(i, val);
287 }
288
289 void setSyscallReturn(SyscallReturn return_value)
290 {
291 checkerTC->setSyscallReturn(return_value);
292 actualTC->setSyscallReturn(return_value);
293 }
294
295 Counter readFuncExeInst() { return actualTC->readFuncExeInst(); }
296#endif
297};
298
299#endif // __CPU_CHECKER_EXEC_CONTEXT_HH__
280 Counter readFuncExeInst() { return actualTC->readFuncExeInst(); }
281#endif
282};
283
284#endif // __CPU_CHECKER_EXEC_CONTEXT_HH__