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; --- 633 unchanged lines hidden (view full) --- 642 643 SyscallDesc *desc = getDesc(callnum); 644 if (desc == NULL) 645 fatal("Syscall %d out of range", callnum); 646 647 desc->doSyscall(callnum, this, tc); 648} 649 |
650IntReg 651LiveProcess::getSyscallArg(ThreadContext *tc, int &i, int width) 652{ 653 return getSyscallArg(tc, i); 654} 655 |
656LiveProcess * 657LiveProcess::create(LiveProcessParams * params) 658{ 659 LiveProcess *process = NULL; 660 661 string executable = 662 params->executable == "" ? params->cmd[0] : params->executable; 663 ObjectFile *objFile = createObjectFile(executable); --- 130 unchanged lines hidden --- |