Deleted Added
sdiff udiff text old ( 13570:b6484720c6a9 ) new ( 13988:d579f9c76531 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

27 *
28 * Authors: Ali Saidi
29 */
30
31#include "arch/sparc/solaris/process.hh"
32
33#include "arch/sparc/isa_traits.hh"
34#include "arch/sparc/registers.hh"
35#include "base/trace.hh"
36#include "cpu/thread_context.hh"
37#include "kern/solaris/solaris.hh"
38#include "sim/process.hh"
39#include "sim/syscall_desc.hh"
40#include "sim/syscall_emul.hh"
41
42using namespace std;
43using namespace SparcISA;
44
45
46/// Target uname() handler.
47static SyscallReturn
48unameFunc(SyscallDesc *desc, int callnum, Process *process,
49 ThreadContext *tc)
50{
51 int index = 0;
52 TypedBufferArg<Solaris::utsname> name(process->getSyscallArg(tc, index));
53

--- 290 unchanged lines hidden ---