From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 14:48:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A1237B401 for ; Wed, 23 Jul 2003 14:48:45 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id E883043F75 for ; Wed, 23 Jul 2003 14:48:44 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <2003072321484401300n95p1e>; Wed, 23 Jul 2003 21:48:44 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA61259 for ; Wed, 23 Jul 2003 14:48:43 -0700 (PDT) Date: Wed, 23 Jul 2003 14:48:41 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: fuword(), suword(), etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 21:48:46 -0000 I'd like to have a "suptr and fuptr" to be able to save and read user pointers in a "machine independent" manner.. at the moment ia need to know the size of a pointer and select the appropriate 32 or 64 version.. It would jus tbe another ENTRY files in support.[sS] alongside teh appropriate sized entry for each architecture so it wouldn't 'cost' anything.. for i386 it would be an alternate name for fuword32() and suword32() I'm not sure what it would be on other architectures.... comments? Anyone think this is a terribel idea? I need it to save pointers to user space in the KSE MI code to set up the "completed" list etc. Currently we use "suword()" etc. but I'd prefer something explicitly correct for a user pointer.