syscall_emul.hh (7823:dac01f14f20f) syscall_emul.hh (8149:12bd3ad81f9d)
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;

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

182 LiveProcess *p, ThreadContext *tc);
183
184/// Handler for unimplemented syscalls that we never intend to
185/// implement (signal handling, etc.) and should not affect the correct
186/// behavior of the program. Print a warning only if the appropriate
187/// trace flag is enabled. Return success to the target program.
188SyscallReturn ignoreFunc(SyscallDesc *desc, int num,
189 LiveProcess *p, ThreadContext *tc);
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;

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

182 LiveProcess *p, ThreadContext *tc);
183
184/// Handler for unimplemented syscalls that we never intend to
185/// implement (signal handling, etc.) and should not affect the correct
186/// behavior of the program. Print a warning only if the appropriate
187/// trace flag is enabled. Return success to the target program.
188SyscallReturn ignoreFunc(SyscallDesc *desc, int num,
189 LiveProcess *p, ThreadContext *tc);
190SyscallReturn ignoreWarnOnceFunc(SyscallDesc *desc, int num,
191 LiveProcess *p, ThreadContext *tc);
190
191/// Target exit() handler: terminate current context.
192SyscallReturn exitFunc(SyscallDesc *desc, int num,
193 LiveProcess *p, ThreadContext *tc);
194
195/// Target exit_group() handler: terminate simulation. (exit all threads)
196SyscallReturn exitGroupFunc(SyscallDesc *desc, int num,
197 LiveProcess *p, ThreadContext *tc);

--- 1034 unchanged lines hidden ---
192
193/// Target exit() handler: terminate current context.
194SyscallReturn exitFunc(SyscallDesc *desc, int num,
195 LiveProcess *p, ThreadContext *tc);
196
197/// Target exit_group() handler: terminate simulation. (exit all threads)
198SyscallReturn exitGroupFunc(SyscallDesc *desc, int num,
199 LiveProcess *p, ThreadContext *tc);

--- 1034 unchanged lines hidden ---