From dd1b346584e520ba970e62aa3bcc7d32828cdeba Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 15 Aug 2012 10:38:04 -0400 Subject: [PATCH] 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. --- src/arch/alpha/linux/process.cc | 4 ++-- src/arch/mips/linux/process.cc | 4 ++-- src/arch/power/linux/process.cc | 4 ++-- src/arch/sparc/linux/syscalls.cc | 4 ++-- src/arch/x86/linux/syscalls.cc | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/arch/alpha/linux/process.cc b/src/arch/alpha/linux/process.cc index f4457b389..ebe06510d 100644 --- a/src/arch/alpha/linux/process.cc +++ b/src/arch/alpha/linux/process.cc @@ -51,8 +51,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, TypedBufferArg 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"); diff --git a/src/arch/mips/linux/process.cc b/src/arch/mips/linux/process.cc index fda32b97b..ef21179e5 100644 --- a/src/arch/mips/linux/process.cc +++ b/src/arch/mips/linux/process.cc @@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, TypedBufferArg 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"); diff --git a/src/arch/power/linux/process.cc b/src/arch/power/linux/process.cc index f83df41d1..b00e02a87 100644 --- a/src/arch/power/linux/process.cc +++ b/src/arch/power/linux/process.cc @@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, TypedBufferArg 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"); diff --git a/src/arch/sparc/linux/syscalls.cc b/src/arch/sparc/linux/syscalls.cc index 9433cb508..66e8e1fe1 100644 --- a/src/arch/sparc/linux/syscalls.cc +++ b/src/arch/sparc/linux/syscalls.cc @@ -45,8 +45,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, TypedBufferArg 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"); diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc index 4319ff9a8..19f09998a 100644 --- a/src/arch/x86/linux/syscalls.cc +++ b/src/arch/x86/linux/syscalls.cc @@ -54,8 +54,8 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, TypedBufferArg 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"); -- 2.30.2