From owner-freebsd-arch Tue Jan 8 9:42:53 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id E112D37B41D for ; Tue, 8 Jan 2002 09:42:37 -0800 (PST) Received: (qmail 24135 invoked from network); 8 Jan 2002 17:42:37 -0000 Received: from unknown (HELO server.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Jan 2002 17:42:37 -0000 Received: from laptop.baldwin.cx (root@laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g08HgbK52758; Tue, 8 Jan 2002 09:42:37 -0800 (PST) (envelope-from john@laptop.baldwin.cx) Received: (from john@localhost) by laptop.baldwin.cx (8.11.6/8.11.6) id g08Hg4U01800; Tue, 8 Jan 2002 09:42:04 -0800 (PST) (envelope-from john) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3C3AE665.4D6B72A6@vigrid.com> Date: Tue, 08 Jan 2002 09:42:04 -0800 (PST) From: John Baldwin To: Dan Eischen Subject: Re: Getcontext resolution? Cc: arch@freebsd.org, Doug Rabson Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Jan-02 Dan Eischen wrote: > Doug Rabson wrote: >> >> On Mon, 7 Jan 2002, Dan Eischen wrote: >> >> > I'm incorporating Doug Rabson's comments. makecontext will allow >> > passing pointers as arguments to the start function, and the argument >> > count will not be passed as a parameter: >> >> I've been thinking about this and I think that possibly 'intptr_t' would >> be a better type for the arguments than 'uintptr_t' since that is a signed >> type. > > OK, will change it. This is really only applicable to alpha and > other 64-bit archs, though. I've left i386 as int's since we know > it's always going to be 32-bits, right? intptr_t is 32-bits on i386. It's easier to just use the same type everywhere. Also, you could consider the new C99 type intmax_t. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message