From owner-svn-src-user@FreeBSD.ORG Tue May 6 19:38:17 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5A9419F; Tue, 6 May 2014 19:38:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C15B8AEA; Tue, 6 May 2014 19:38:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s46JcHeH091063; Tue, 6 May 2014 19:38:17 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s46JcGL5091057; Tue, 6 May 2014 19:38:16 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201405061938.s46JcGL5091057@svn.freebsd.org> From: Dmitry Chagin Date: Tue, 6 May 2014 19:38:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r265460 - in user/dchagin/lemul/sys: amd64/linux amd64/linux32 i386/linux X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 19:38:17 -0000 Author: dchagin Date: Tue May 6 19:38:16 2014 New Revision: 265460 URL: http://svnweb.freebsd.org/changeset/base/265460 Log: Change linux clock_gettime, clock_settime, clock_getres, clock_nanosleep syscalls definition to match actual linux one. Modified: user/dchagin/lemul/sys/amd64/linux/linux.h user/dchagin/lemul/sys/amd64/linux/syscalls.master user/dchagin/lemul/sys/amd64/linux32/linux.h user/dchagin/lemul/sys/amd64/linux32/syscalls.master user/dchagin/lemul/sys/i386/linux/linux.h user/dchagin/lemul/sys/i386/linux/syscalls.master Modified: user/dchagin/lemul/sys/amd64/linux/linux.h ============================================================================== --- user/dchagin/lemul/sys/amd64/linux/linux.h Tue May 6 19:18:20 2014 (r265459) +++ user/dchagin/lemul/sys/amd64/linux/linux.h Tue May 6 19:38:16 2014 (r265460) @@ -79,6 +79,7 @@ typedef l_long l_time_t; typedef l_int l_timer_t; typedef l_int l_mqd_t; typedef l_size_t l_socklen_t; +typedef l_int l_clockid_t; typedef struct { l_int val[2]; Modified: user/dchagin/lemul/sys/amd64/linux/syscalls.master ============================================================================== --- user/dchagin/lemul/sys/amd64/linux/syscalls.master Tue May 6 19:18:20 2014 (r265459) +++ user/dchagin/lemul/sys/amd64/linux/syscalls.master Tue May 6 19:38:16 2014 (r265460) @@ -389,10 +389,10 @@ 224 AUE_NULL STD { int linux_timer_gettime(void); } 225 AUE_NULL STD { int linux_timer_getoverrun(void); } 226 AUE_NULL STD { int linux_timer_delete(void); } -227 AUE_CLOCK_SETTIME STD { int linux_clock_settime(clockid_t which, struct l_timespec *tp); } -228 AUE_NULL STD { int linux_clock_gettime(clockid_t which, struct l_timespec *tp); } -229 AUE_NULL STD { int linux_clock_getres(clockid_t which, struct l_timespec *tp); } -230 AUE_NULL STD { int linux_clock_nanosleep(clockid_t which, int flags, \ +227 AUE_CLOCK_SETTIME STD { int linux_clock_settime(l_clockid_t which, struct l_timespec *tp); } +228 AUE_NULL STD { int linux_clock_gettime(l_clockid_t which, struct l_timespec *tp); } +229 AUE_NULL STD { int linux_clock_getres(l_clockid_t which, struct l_timespec *tp); } +230 AUE_NULL STD { int linux_clock_nanosleep(l_clockid_t which, int flags, \ struct l_timespec *rqtp, struct l_timespec *rmtp); } 231 AUE_EXIT STD { int linux_exit_group(int error_code); } 232 AUE_NULL STD { int linux_epoll_wait(l_int epfd, struct epoll_event *events, \ Modified: user/dchagin/lemul/sys/amd64/linux32/linux.h ============================================================================== --- user/dchagin/lemul/sys/amd64/linux32/linux.h Tue May 6 19:18:20 2014 (r265459) +++ user/dchagin/lemul/sys/amd64/linux32/linux.h Tue May 6 19:38:16 2014 (r265460) @@ -94,6 +94,7 @@ typedef l_uint l_uid_t; typedef l_ushort l_uid16_t; typedef l_int l_timer_t; typedef l_int l_mqd_t; +typedef l_int l_clockid_t; typedef struct { l_int val[2]; Modified: user/dchagin/lemul/sys/amd64/linux32/syscalls.master ============================================================================== --- user/dchagin/lemul/sys/amd64/linux32/syscalls.master Tue May 6 19:18:20 2014 (r265459) +++ user/dchagin/lemul/sys/amd64/linux32/syscalls.master Tue May 6 19:38:16 2014 (r265460) @@ -442,10 +442,10 @@ 261 AUE_NULL STD { int linux_timer_gettime(void); } 262 AUE_NULL STD { int linux_timer_getoverrun(void); } 263 AUE_NULL STD { int linux_timer_delete(void); } -264 AUE_CLOCK_SETTIME STD { int linux_clock_settime(clockid_t which, struct l_timespec *tp); } -265 AUE_NULL STD { int linux_clock_gettime(clockid_t which, struct l_timespec *tp); } -266 AUE_NULL STD { int linux_clock_getres(clockid_t which, struct l_timespec *tp); } -267 AUE_NULL STD { int linux_clock_nanosleep(clockid_t which, int flags, \ +264 AUE_CLOCK_SETTIME STD { int linux_clock_settime(l_clockid_t which, struct l_timespec *tp); } +265 AUE_NULL STD { int linux_clock_gettime(l_clockid_t which, struct l_timespec *tp); } +266 AUE_NULL STD { int linux_clock_getres(l_clockid_t which, struct l_timespec *tp); } +267 AUE_NULL STD { int linux_clock_nanosleep(l_clockid_t which, int flags, \ struct l_timespec *rqtp, struct l_timespec *rmtp); } 268 AUE_STATFS STD { int linux_statfs64(char *path, size_t bufsize, struct l_statfs64_buf *buf); } 269 AUE_FSTATFS STD { int linux_fstatfs64(void); } Modified: user/dchagin/lemul/sys/i386/linux/linux.h ============================================================================== --- user/dchagin/lemul/sys/i386/linux/linux.h Tue May 6 19:18:20 2014 (r265459) +++ user/dchagin/lemul/sys/i386/linux/linux.h Tue May 6 19:38:16 2014 (r265460) @@ -88,6 +88,7 @@ typedef l_uint l_uid_t; typedef l_ushort l_uid16_t; typedef l_int l_timer_t; typedef l_int l_mqd_t; +typedef l_int l_clockid_t; typedef struct { l_int val[2]; Modified: user/dchagin/lemul/sys/i386/linux/syscalls.master ============================================================================== --- user/dchagin/lemul/sys/i386/linux/syscalls.master Tue May 6 19:18:20 2014 (r265459) +++ user/dchagin/lemul/sys/i386/linux/syscalls.master Tue May 6 19:38:16 2014 (r265460) @@ -446,10 +446,10 @@ 261 AUE_NULL STD { int linux_timer_gettime(l_timer_t timerid, struct itimerspec *setting); } 262 AUE_NULL STD { int linux_timer_getoverrun(l_timer_t timerid); } 263 AUE_NULL STD { int linux_timer_delete(l_timer_t timerid); } -264 AUE_CLOCK_SETTIME STD { int linux_clock_settime(clockid_t which, struct l_timespec *tp); } -265 AUE_NULL STD { int linux_clock_gettime(clockid_t which, struct l_timespec *tp); } -266 AUE_NULL STD { int linux_clock_getres(clockid_t which, struct l_timespec *tp); } -267 AUE_NULL STD { int linux_clock_nanosleep(clockid_t which, int flags, \ +264 AUE_CLOCK_SETTIME STD { int linux_clock_settime(l_clockid_t which, struct l_timespec *tp); } +265 AUE_NULL STD { int linux_clock_gettime(l_clockid_t which, struct l_timespec *tp); } +266 AUE_NULL STD { int linux_clock_getres(l_clockid_t which, struct l_timespec *tp); } +267 AUE_NULL STD { int linux_clock_nanosleep(l_clockid_t which, int flags, \ struct l_timespec *rqtp, struct l_timespec *rmtp); } 268 AUE_STATFS STD { int linux_statfs64(char *path, size_t bufsize, struct l_statfs64_buf *buf); } 269 AUE_FSTATFS STD { int linux_fstatfs64(void); }