Move comment to the right place.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3893
This commit is contained in:
Nicholas Nethercote 2005-06-12 00:06:24 +00:00
parent cfe3bf6bd3
commit f56f6ef444
2 changed files with 6 additions and 6 deletions

View File

@ -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);
/* ---------------------------------------------------------------------

View File

@ -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 );