|
From: <sv...@va...> - 2005-06-12 00:06:30
|
Author: njn
Date: 2005-06-12 01:06:24 +0100 (Sun, 12 Jun 2005)
New Revision: 3893
Log:
Move comment to the right place.
Modified:
trunk/coregrind/core.h
trunk/coregrind/pub_core_libcbase.h
Modified: trunk/coregrind/core.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/core.h 2005-06-11 17:19:18 UTC (rev 3892)
+++ trunk/coregrind/core.h 2005-06-12 00:06:24 UTC (rev 3893)
@@ -148,12 +148,6 @@
Exports of vg_syscall.S
------------------------------------------------------------------ */
=20
-// 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, beca=
use
-// the top 32-bits might not be zeroed appropriately, eg. as would happe=
n
-// with the 6th arg on AMD64 which is passed on the stack.
-
extern void VG_(sigreturn)(void);
=20
/* ---------------------------------------------------------------------
Modified: trunk/coregrind/pub_core_libcbase.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_libcbase.h 2005-06-11 17:19:18 UTC (rev 3892=
)
+++ trunk/coregrind/pub_core_libcbase.h 2005-06-12 00:06:24 UTC (rev 3893=
)
@@ -46,6 +46,12 @@
/* Do a syscall on this platform, with 6 args, and return the result
in canonical format in a SysRes value. */
=20
+// We use a full prototype for VG_(do_syscall) rather than "..." to ensu=
re
+// 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 wou=
ld
+// happen with the 6th arg on AMD64 which is passed on the stack.
+
extern SysRes VG_(do_syscall) ( UWord sysno,=20
UWord, UWord, UWord,=20
UWord, UWord, UWord );
|