Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2007 00:22:18 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 125470 for review
Message-ID:  <200708210022.l7L0MIYS014453@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125470

Change 125470 by peter@peter_cheese on 2007/08/21 00:22:04

	Swipe phk's diff parts for turning on the clock_* wrappers.

Affected files ...

.. //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#6 edit

Differences ...

==== //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#6 (text+ko) ====

@@ -1442,6 +1442,8 @@
       POST_MEM_WRITE( ARG3, sizeof(struct vki_mq_attr) );
 }
 
+#endif
+
 /* ---------------------------------------------------------------------
    clock_* wrappers
    ------------------------------------------------------------------ */
@@ -1482,6 +1484,7 @@
       POST_MEM_WRITE( ARG2, sizeof(struct vki_timespec) );
 }
 
+#if 0
 PRE(sys_clock_nanosleep)
 {
    *flags |= SfMayBlock|SfPostOnFail;
@@ -2475,9 +2478,9 @@
 // BSDXY(__NR_shmdt,			sys_shmdt),			// 230
 // BSDX_(__NR_shmget,			sys_shmget),			// 231
 
-// BSDXY(__NR_clock_gettime,		sys_clock_gettime),		// 232
-// BSDX_(__NR_clock_settime,		sys_clock_settime),		// 233
-// BSDXY(__NR_clock_getres,		sys_clock_getres),		// 234
+   BSDXY(__NR_clock_gettime,		sys_clock_gettime),		// 232
+   BSDX_(__NR_clock_settime,		sys_clock_settime),		// 233
+   BSDXY(__NR_clock_getres,		sys_clock_getres),		// 234
    // unimpl timer_create						   235
 
    // unimpl timer_delete						   236



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708210022.l7L0MIYS014453>