mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Move comment to the right place.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3893
This commit is contained in:
parent
cfe3bf6bd3
commit
f56f6ef444
@ -148,12 +148,6 @@ extern void VG_(do_atfork_child) (ThreadId tid);
|
||||
Exports of vg_syscall.S
|
||||
------------------------------------------------------------------ */
|
||||
|
||||
// We use a full prototype rather than "..." here to ensure that all
|
||||
// arguments get converted to a UWord appropriately. Not doing so can
|
||||
// cause problems when passing 32-bit integers on 64-bit platforms, because
|
||||
// the top 32-bits might not be zeroed appropriately, eg. as would happen
|
||||
// with the 6th arg on AMD64 which is passed on the stack.
|
||||
|
||||
extern void VG_(sigreturn)(void);
|
||||
|
||||
/* ---------------------------------------------------------------------
|
||||
|
||||
@ -46,6 +46,12 @@
|
||||
/* Do a syscall on this platform, with 6 args, and return the result
|
||||
in canonical format in a SysRes value. */
|
||||
|
||||
// We use a full prototype for VG_(do_syscall) rather than "..." to ensure
|
||||
// that all arguments get converted to a UWord appropriately. Not doing so
|
||||
// can cause problems when passing 32-bit integers on 64-bit platforms,
|
||||
// because the top 32-bits might not be zeroed appropriately, eg. as would
|
||||
// happen with the 6th arg on AMD64 which is passed on the stack.
|
||||
|
||||
extern SysRes VG_(do_syscall) ( UWord sysno,
|
||||
UWord, UWord, UWord,
|
||||
UWord, UWord, UWord );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user