thread_context.hh (2713:c424d724dc4c) | thread_context.hh (2719:d73e952240aa) |
---|---|
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; --- 231 unchanged lines hidden (view full) --- 240#if !FULL_SYSTEM 241 virtual IntReg getSyscallArg(int i) = 0; 242 243 // used to shift args for indirect syscall 244 virtual void setSyscallArg(int i, IntReg val) = 0; 245 246 virtual void setSyscallReturn(SyscallReturn return_value) = 0; 247 | 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; --- 231 unchanged lines hidden (view full) --- 240#if !FULL_SYSTEM 241 virtual IntReg getSyscallArg(int i) = 0; 242 243 // used to shift args for indirect syscall 244 virtual void setSyscallArg(int i, IntReg val) = 0; 245 246 virtual void setSyscallReturn(SyscallReturn return_value) = 0; 247 |
248 virtual void syscall(int64_t callnum) = 0; 249 | |
250 // Same with st cond failures. 251 virtual Counter readFuncExeInst() = 0; 252#endif 253 254 virtual void changeRegFileContext(RegFile::ContextParam param, 255 RegFile::ContextVal val) = 0; 256}; 257 --- 169 unchanged lines hidden (view full) --- 427 428 // used to shift args for indirect syscall 429 void setSyscallArg(int i, IntReg val) 430 { actualTC->setSyscallArg(i, val); } 431 432 void setSyscallReturn(SyscallReturn return_value) 433 { actualTC->setSyscallReturn(return_value); } 434 | 248 // Same with st cond failures. 249 virtual Counter readFuncExeInst() = 0; 250#endif 251 252 virtual void changeRegFileContext(RegFile::ContextParam param, 253 RegFile::ContextVal val) = 0; 254}; 255 --- 169 unchanged lines hidden (view full) --- 425 426 // used to shift args for indirect syscall 427 void setSyscallArg(int i, IntReg val) 428 { actualTC->setSyscallArg(i, val); } 429 430 void setSyscallReturn(SyscallReturn return_value) 431 { actualTC->setSyscallReturn(return_value); } 432 |
435 void syscall(int64_t callnum) { actualTC->syscall(callnum); } 436 | |
437 Counter readFuncExeInst() { return actualTC->readFuncExeInst(); } 438#endif 439 440 void changeRegFileContext(RegFile::ContextParam param, 441 RegFile::ContextVal val) 442 { 443 actualTC->changeRegFileContext(param, val); 444 } 445}; 446 447#endif | 433 Counter readFuncExeInst() { return actualTC->readFuncExeInst(); } 434#endif 435 436 void changeRegFileContext(RegFile::ContextParam param, 437 RegFile::ContextVal val) 438 { 439 actualTC->changeRegFileContext(param, val); 440 } 441}; 442 443#endif |