From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 2 21:41:48 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72F4F16A4D0 for ; Wed, 2 Mar 2005 21:41:48 +0000 (GMT) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7D7B43D41 for ; Wed, 2 Mar 2005 21:41:47 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21793 invoked from network); 2 Mar 2005 21:41:47 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 2 Mar 2005 21:41:47 -0000 Received: from [10.50.40.202] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j22LffD9084187; Wed, 2 Mar 2005 16:41:41 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: alpha@FreeBSD.org, amd64@FreeBSD.org, ia64@FreeBSD.org Date: Wed, 2 Mar 2005 16:43:05 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200503021643.05580.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Subject: [PATCH] More stackgap removal X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 21:41:48 -0000 I've fixed up a few more syscalls to have kern_foo versions so that ABI wrappers for them can stop using the stackgap. In this patch, I've added kern_settimeofday() for ibcs2 and freebsd32, kern_adjtime() for freebsd32, and kern_sched_rr_get_interval() for Linux/i386 on amd64 (note that this means that COMPAT_LINUX32 now requires POSIX_PRIORITY_SCHEDULING). I've also added kern_readv() and kern_writev() for OSF/1, Linux/i386 on amd64, and freebsd32. For these functions I added a per-ABI version of copyinuio() to build a uio structure from the iovec array in userland. Testing and feedback of both native and compat binaries greatly appreciated. http://www.FreeBSD.org/~jhb/patches/abi.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org