syscall_emul.hh (11759:deaf82fd2e7c) | syscall_emul.hh (11760:f9aa72424274) |
---|---|
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 --- 143 unchanged lines hidden (view full) --- 152 153/// Handler for unimplemented syscalls that we never intend to 154/// implement (signal handling, etc.) and should not affect the correct 155/// behavior of the program. Print a warning only if the appropriate 156/// trace flag is enabled. Return success to the target program. 157SyscallReturn ignoreFunc(SyscallDesc *desc, int num, 158 LiveProcess *p, ThreadContext *tc); 159 | 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 --- 143 unchanged lines hidden (view full) --- 152 153/// Handler for unimplemented syscalls that we never intend to 154/// implement (signal handling, etc.) and should not affect the correct 155/// behavior of the program. Print a warning only if the appropriate 156/// trace flag is enabled. Return success to the target program. 157SyscallReturn ignoreFunc(SyscallDesc *desc, int num, 158 LiveProcess *p, ThreadContext *tc); 159 |
160// Target fallocateFunc() handler. 161SyscallReturn fallocateFunc(SyscallDesc *desc, int num, 162 LiveProcess *p, ThreadContext *tc); 163 |
|
160/// Target exit() handler: terminate current context. 161SyscallReturn exitFunc(SyscallDesc *desc, int num, 162 LiveProcess *p, ThreadContext *tc); 163 164/// Target exit_group() handler: terminate simulation. (exit all threads) 165SyscallReturn exitGroupFunc(SyscallDesc *desc, int num, 166 LiveProcess *p, ThreadContext *tc); 167 --- 1529 unchanged lines hidden --- | 164/// Target exit() handler: terminate current context. 165SyscallReturn exitFunc(SyscallDesc *desc, int num, 166 LiveProcess *p, ThreadContext *tc); 167 168/// Target exit_group() handler: terminate simulation. (exit all threads) 169SyscallReturn exitGroupFunc(SyscallDesc *desc, int num, 170 LiveProcess *p, ThreadContext *tc); 171 --- 1529 unchanged lines hidden --- |