Deleted Added
sdiff udiff text old ( 13570:b6484720c6a9 ) new ( 13571:a320800ceccf )
full compact
1/*
2 * Copyright (c) 2012-2013, 2015 ARM Limited
3 * Copyright (c) 2015 Advanced Micro Devices, Inc.
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

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

297/// Internal pipe() handler.
298SyscallReturn pipeImpl(SyscallDesc *desc, int num, Process *p,
299 ThreadContext *tc, bool pseudoPipe);
300
301/// Target getpid() handler.
302SyscallReturn getpidFunc(SyscallDesc *desc, int num,
303 Process *p, ThreadContext *tc);
304
305// Target getpeername() handler.
306SyscallReturn getpeernameFunc(SyscallDesc *desc, int num,
307 Process *p, ThreadContext *tc);
308
309// Target bind() handler.
310SyscallReturn bindFunc(SyscallDesc *desc, int num,
311 Process *p, ThreadContext *tc);
312
313// Target listen() handler.
314SyscallReturn listenFunc(SyscallDesc *desc, int num,
315 Process *p, ThreadContext *tc);
316

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

368
369/// Target access() handler
370SyscallReturn accessFunc(SyscallDesc *desc, int num,
371 Process *p, ThreadContext *tc);
372SyscallReturn accessFunc(SyscallDesc *desc, int num,
373 Process *p, ThreadContext *tc,
374 int index);
375
376// Target getsockopt() handler.
377SyscallReturn getsockoptFunc(SyscallDesc *desc, int num,
378 Process *p, ThreadContext *tc);
379
380// Target setsockopt() handler.
381SyscallReturn setsockoptFunc(SyscallDesc *desc, int num,
382 Process *p, ThreadContext *tc);
383
384// Target getsockname() handler.
385SyscallReturn getsocknameFunc(SyscallDesc *desc, int num,
386 Process *p, ThreadContext *tc);
387
388/// Futex system call
389/// Implemented by Daniel Sanchez
390/// Used by printf's in multi-threaded apps
391template <class OS>
392SyscallReturn
393futexFunc(SyscallDesc *desc, int callnum, Process *process,
394 ThreadContext *tc)
395{

--- 2246 unchanged lines hidden ---