process.cc (11886:43b882cada33) process.cc (13226:77114f781d94)
1/*
2 * Copyright (c) 2010-2013, 2015 ARM Limited
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

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

64unameFunc32(SyscallDesc *desc, int callnum, Process *process,
65 ThreadContext *tc)
66{
67 int index = 0;
68 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
69
70 strcpy(name->sysname, "Linux");
71 strcpy(name->nodename, "m5.eecs.umich.edu");
1/*
2 * Copyright (c) 2010-2013, 2015 ARM Limited
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

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

64unameFunc32(SyscallDesc *desc, int callnum, Process *process,
65 ThreadContext *tc)
66{
67 int index = 0;
68 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
69
70 strcpy(name->sysname, "Linux");
71 strcpy(name->nodename, "m5.eecs.umich.edu");
72 strcpy(name->release, "3.0.0");
73 strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
72 strcpy(name->release, "3.7.0+");
73 strcpy(name->version, "#1 SMP Sat Dec 1 00:00:00 GMT 2012");
74 strcpy(name->machine, "armv7l");
75
76 name.copyOut(tc->getMemProxy());
77 return 0;
78}
79
80/// Target uname() handler.
81static SyscallReturn

--- 1638 unchanged lines hidden ---
74 strcpy(name->machine, "armv7l");
75
76 name.copyOut(tc->getMemProxy());
77 return 0;
78}
79
80/// Target uname() handler.
81static SyscallReturn

--- 1638 unchanged lines hidden ---