Deleted Added
sdiff udiff text old ( 13645:f9cd6956b57b ) new ( 13987:0b79ddd399a4 )
full compact
1/*
2 * Copyright (c) 2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2016 The University of Virginia
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

33 */
34
35#include "arch/riscv/linux/process.hh"
36
37#include <map>
38
39#include "arch/riscv/isa_traits.hh"
40#include "arch/riscv/linux/linux.hh"
41#include "base/trace.hh"
42#include "cpu/thread_context.hh"
43#include "debug/SyscallVerbose.hh"
44#include "kern/linux/linux.hh"
45#include "sim/eventq.hh"
46#include "sim/process.hh"
47#include "sim/syscall_desc.hh"
48#include "sim/syscall_emul.hh"
49#include "sim/system.hh"
50
51using namespace std;
52using namespace RiscvISA;
53
54/// Target uname() handler.
55static SyscallReturn
56unameFunc64(SyscallDesc *desc, int callnum, Process *process,
57 ThreadContext *tc)
58{
59 int index = 0;
60 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
61

--- 711 unchanged lines hidden ---