process.cc (5748:f28f020f3006) | process.cc (5759:6e65ac8a2c80) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 38 unchanged lines hidden (view full) --- 47static SyscallReturn 48unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, 49 ThreadContext *tc) 50{ 51 TypedBufferArg<Linux::utsname> name(tc->getSyscallArg(0)); 52 53 strcpy(name->sysname, "Linux"); 54 strcpy(name->nodename, "m5.eecs.umich.edu"); | 1/* 2 * Copyright (c) 2003-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; --- 38 unchanged lines hidden (view full) --- 47static SyscallReturn 48unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, 49 ThreadContext *tc) 50{ 51 TypedBufferArg<Linux::utsname> name(tc->getSyscallArg(0)); 52 53 strcpy(name->sysname, "Linux"); 54 strcpy(name->nodename, "m5.eecs.umich.edu"); |
55 strcpy(name->release, "2.4.20"); | 55 strcpy(name->release, "2.6.26"); |
56 strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); 57 strcpy(name->machine, "alpha"); 58 59 name.copyOut(tc->getMemPort()); 60 return 0; 61} 62 63/// Target osf_getsysyinfo() handler. Even though this call is --- 522 unchanged lines hidden --- | 56 strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); 57 strcpy(name->machine, "alpha"); 58 59 name.copyOut(tc->getMemPort()); 60 return 0; 61} 62 63/// Target osf_getsysyinfo() handler. Even though this call is --- 522 unchanged lines hidden --- |