process.cc (11912:548f80d225e6) process.cc (12592:29b4451fd0b5)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

57unameFunc(SyscallDesc *desc, int callnum, Process *process,
58 ThreadContext *tc)
59{
60 int index = 0;
61 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
62
63 strcpy(name->sysname, "Linux");
64 strcpy(name->nodename, "sim.gem5.org");
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

57unameFunc(SyscallDesc *desc, int callnum, Process *process,
58 ThreadContext *tc)
59{
60 int index = 0;
61 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
62
63 strcpy(name->sysname, "Linux");
64 strcpy(name->nodename, "sim.gem5.org");
65 strcpy(name->release, "3.0.0");
65 strcpy(name->release, "3.2.0");
66 strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
67 strcpy(name->machine, "x86_64");
68
69 name.copyOut(tc->getMemProxy());
70
71 return 0;
72}
73

--- 814 unchanged lines hidden ---
66 strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
67 strcpy(name->machine, "x86_64");
68
69 name.copyOut(tc->getMemProxy());
70
71 return 0;
72}
73

--- 814 unchanged lines hidden ---