process.cc (13995:5d459168a680) process.cc (14014:ce216ee5d886)
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;

--- 66 unchanged lines hidden (view full) ---

75unameFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
76{
77 int index = 0;
78 auto process = tc->getProcessPtr();
79 TypedBufferArg<Solaris::utsname> name(process->getSyscallArg(tc, index));
80
81 strcpy(name->sysname, "SunOS");
82 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;

--- 66 unchanged lines hidden (view full) ---

75unameFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
76{
77 int index = 0;
78 auto process = tc->getProcessPtr();
79 TypedBufferArg<Solaris::utsname> name(process->getSyscallArg(tc, index));
80
81 strcpy(name->sysname, "SunOS");
82 strcpy(name->nodename, "m5.eecs.umich.edu");
83 strcpy(name->release, "5.9"); //?? do we want this or something newer?
83 strcpy(name->release, process->release.c_str());
84 strcpy(name->version, "Generic_118558-21");
85 strcpy(name->machine, "sun4u");
86
87 name.copyOut(tc->getMemProxy());
88
89 return 0;
90}
91

--- 279 unchanged lines hidden ---
84 strcpy(name->version, "Generic_118558-21");
85 strcpy(name->machine, "sun4u");
86
87 name.copyOut(tc->getMemProxy());
88
89 return 0;
90}
91

--- 279 unchanged lines hidden ---