1/* 2 * Copyright (c) 2001-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; --- 311 unchanged lines hidden (view full) --- 320 full += '/'; 321 322 return full + filename; 323 } 324 325 std::string getcwd() const { return cwd; } 326 327 virtual void syscall(int64_t callnum, ThreadContext *tc); |
328 329 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i) = 0; 330 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width); |
331 virtual void setSyscallArg(ThreadContext *tc, 332 int i, TheISA::IntReg val) = 0; 333 virtual void setSyscallReturn(ThreadContext *tc, 334 SyscallReturn return_value) = 0; 335 336 virtual SyscallDesc* getDesc(int callnum) = 0; 337 338 // this function is used to create the LiveProcess object, since 339 // we can't tell which subclass of LiveProcess to use until we 340 // open and look at the object file. 341 static LiveProcess *create(LiveProcessParams * params); 342}; 343 344 345#endif // !FULL_SYSTEM 346 347#endif // __PROCESS_HH__ |