simple_thread.hh (2864:eab7ff8f6d72) | simple_thread.hh (2972:f84c6c5309ce) |
---|---|
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; --- 435 unchanged lines hidden (view full) --- 444 } 445 446 void syscall(int64_t callnum) 447 { 448 process->syscall(callnum, tc); 449 } 450#endif 451 | 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; --- 435 unchanged lines hidden (view full) --- 444 } 445 446 void syscall(int64_t callnum) 447 { 448 process->syscall(callnum, tc); 449 } 450#endif 451 |
452 void changeRegFileContext(RegFile::ContextParam param, 453 RegFile::ContextVal val) | 452 void changeRegFileContext(TheISA::RegContextParam param, 453 TheISA::RegContextVal val) |
454 { 455 regs.changeContext(param, val); 456 } 457}; 458 459 460// for non-speculative execution context, spec_mode is always false 461inline bool 462SimpleThread::misspeculating() 463{ 464 return false; 465} 466 467#endif // __CPU_CPU_EXEC_CONTEXT_HH__ | 454 { 455 regs.changeContext(param, val); 456 } 457}; 458 459 460// for non-speculative execution context, spec_mode is always false 461inline bool 462SimpleThread::misspeculating() 463{ 464 return false; 465} 466 467#endif // __CPU_CPU_EXEC_CONTEXT_HH__ |