simple_thread.hh (5640:c811ced9efc1) simple_thread.hh (5668:5b5a9f4203d1)
1/*
2 * Copyright (c) 2001-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;

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

400 TheISA::setSyscallReturn(return_value, getTC());
401 }
402
403 void syscall(int64_t callnum)
404 {
405 process->syscall(callnum, tc);
406 }
407#endif
1/*
2 * Copyright (c) 2001-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;

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

400 TheISA::setSyscallReturn(return_value, getTC());
401 }
402
403 void syscall(int64_t callnum)
404 {
405 process->syscall(callnum, tc);
406 }
407#endif
408
409 void changeRegFileContext(TheISA::RegContextParam param,
410 TheISA::RegContextVal val)
411 {
412 regs.changeContext(param, val);
413 }
414};
415
416
417// for non-speculative execution context, spec_mode is always false
418inline bool
419SimpleThread::misspeculating()
420{
421 return false;
422}
423
424#endif // __CPU_CPU_EXEC_CONTEXT_HH__
408};
409
410
411// for non-speculative execution context, spec_mode is always false
412inline bool
413SimpleThread::misspeculating()
414{
415 return false;
416}
417
418#endif // __CPU_CPU_EXEC_CONTEXT_HH__