sysemul: bump all linux versions of for syscal emulation to 3.0.
New tool chains seem to be looking for kernel versions newer than what this this was previously set to. Also take this opportunity to change the hostname we report in uname to sim.gem5.org.
This commit is contained in:
parent
11411cc9c7
commit
dd1b346584
5 changed files with 10 additions and 10 deletions
|
@ -51,8 +51,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
||||||
|
|
||||||
strcpy(name->sysname, "Linux");
|
strcpy(name->sysname, "Linux");
|
||||||
strcpy(name->nodename, "m5.eecs.umich.edu");
|
strcpy(name->nodename, "sim.gem5.org");
|
||||||
strcpy(name->release, "2.6.26");
|
strcpy(name->release, "3.0.0");
|
||||||
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
||||||
strcpy(name->machine, "alpha");
|
strcpy(name->machine, "alpha");
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
||||||
|
|
||||||
strcpy(name->sysname, "Linux");
|
strcpy(name->sysname, "Linux");
|
||||||
strcpy(name->nodename,"m5.eecs.umich.edu");
|
strcpy(name->nodename,"sim.gem5.org");
|
||||||
strcpy(name->release, "2.6.35");
|
strcpy(name->release, "3.0.0");
|
||||||
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
||||||
strcpy(name->machine, "mips");
|
strcpy(name->machine, "mips");
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
||||||
|
|
||||||
strcpy(name->sysname, "Linux");
|
strcpy(name->sysname, "Linux");
|
||||||
strcpy(name->nodename, "m5.eecs.umich.edu");
|
strcpy(name->nodename, "sim.gem5.org");
|
||||||
strcpy(name->release, "2.6.16.19");
|
strcpy(name->release, "3.0.0");
|
||||||
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
||||||
strcpy(name->machine, "power");
|
strcpy(name->machine, "power");
|
||||||
|
|
||||||
|
|
|
@ -45,8 +45,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
||||||
|
|
||||||
strcpy(name->sysname, "Linux");
|
strcpy(name->sysname, "Linux");
|
||||||
strcpy(name->nodename, "m5.eecs.umich.edu");
|
strcpy(name->nodename, "sim.gem5.org");
|
||||||
strcpy(name->release, "2.6.12-9-sparc64");
|
strcpy(name->release, "3.0.0-sparc64");
|
||||||
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
||||||
strcpy(name->machine, "sparc");
|
strcpy(name->machine, "sparc");
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
|
||||||
|
|
||||||
strcpy(name->sysname, "Linux");
|
strcpy(name->sysname, "Linux");
|
||||||
strcpy(name->nodename, "m5.eecs.umich.edu");
|
strcpy(name->nodename, "sim.gem5.org");
|
||||||
strcpy(name->release, "2.6.16.19");
|
strcpy(name->release, "3.0.0");
|
||||||
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
|
||||||
strcpy(name->machine, "x86_64");
|
strcpy(name->machine, "x86_64");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue