1/* 2 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 381 unchanged lines hidden (view full) --- 390Process::syscall(int64_t callnum, ThreadContext *tc, Fault *fault) 391{ 392 numSyscalls++; 393 394 SyscallDesc *desc = getDesc(callnum); 395 if (desc == nullptr) 396 fatal("Syscall %d out of range", callnum); 397 |
398 desc->doSyscall(callnum, tc, fault); |
399} 400 401RegVal 402Process::getSyscallArg(ThreadContext *tc, int &i, int width) 403{ 404 return getSyscallArg(tc, i); 405} 406 --- 138 unchanged lines hidden --- |