sysemul: bump all linux versions of for syscal emulation to 3.0.
authorAli Saidi <Ali.Saidi@ARM.com>
Wed, 15 Aug 2012 14:38:04 +0000 (10:38 -0400)
committerAli Saidi <Ali.Saidi@ARM.com>
Wed, 15 Aug 2012 14:38:04 +0000 (10:38 -0400)
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.

src/arch/alpha/linux/process.cc
src/arch/mips/linux/process.cc
src/arch/power/linux/process.cc
src/arch/sparc/linux/syscalls.cc
src/arch/x86/linux/syscalls.cc

index f4457b38927fc2445e8d87e1835e3cc256a9941a..ebe06510dcd935fefa76cdc7cb0d3ef5993ced37 100644 (file)
@@ -51,8 +51,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
     TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
 
     strcpy(name->sysname, "Linux");
-    strcpy(name->nodename, "m5.eecs.umich.edu");
-    strcpy(name->release, "2.6.26");
+    strcpy(name->nodename, "sim.gem5.org");
+    strcpy(name->release, "3.0.0");
     strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
     strcpy(name->machine, "alpha");
 
index fda32b97b5133b610344c3ed3bee4a4ad4d08c72..ef21179e52e04bace1ad76dc6897dc079c14b7ae 100644 (file)
@@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
     TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
 
     strcpy(name->sysname, "Linux");
-    strcpy(name->nodename,"m5.eecs.umich.edu");
-    strcpy(name->release, "2.6.35");
+    strcpy(name->nodename,"sim.gem5.org");
+    strcpy(name->release, "3.0.0");
     strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
     strcpy(name->machine, "mips");
 
index f83df41d15db371bb664cfed28fe9cfce84a34e4..b00e02a872ad54e2232cf6f9ad75caaf7089d7b5 100644 (file)
@@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
     TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
 
     strcpy(name->sysname, "Linux");
-    strcpy(name->nodename, "m5.eecs.umich.edu");
-    strcpy(name->release, "2.6.16.19");
+    strcpy(name->nodename, "sim.gem5.org");
+    strcpy(name->release, "3.0.0");
     strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
     strcpy(name->machine, "power");
 
index 9433cb50829f70c0215f62cf43ec4fbd19acc346..66e8e1fe182f403959fa65fe01e1b06e7b386a0a 100644 (file)
@@ -45,8 +45,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
     TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
 
     strcpy(name->sysname, "Linux");
-    strcpy(name->nodename, "m5.eecs.umich.edu");
-    strcpy(name->release, "2.6.12-9-sparc64");
+    strcpy(name->nodename, "sim.gem5.org");
+    strcpy(name->release, "3.0.0-sparc64");
     strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
     strcpy(name->machine, "sparc");
 
index 4319ff9a8709d065391adf543e4a99978bf46469..19f09998a56529d3b8fe22a13bc51cf60d6a93e2 100644 (file)
@@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
     TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
 
     strcpy(name->sysname, "Linux");
-    strcpy(name->nodename, "m5.eecs.umich.edu");
-    strcpy(name->release, "2.6.16.19");
+    strcpy(name->nodename, "sim.gem5.org");
+    strcpy(name->release, "3.0.0");
     strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
     strcpy(name->machine, "x86_64");