From owner-cvs-all Wed May 6 17:00:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19909 for cvs-all-outgoing; Wed, 6 May 1998 17:00:47 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from antipodes.cdrom.com (a04m.cet.co.jp [202.32.65.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19767 for ; Wed, 6 May 1998 17:00:10 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id PAA00632; Wed, 6 May 1998 15:34:52 -0700 (PDT) Message-Id: <199805062234.PAA00632@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: John Birrell cc: committers@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys termios.h In-reply-to: Your message of "Thu, 07 May 1998 08:03:12 +1000." <199805062203.IAA26919@cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 May 1998 15:34:51 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > To get a working FreeBSD/Alpha using a NetBSD kernel, I want to make as > few changes to FreeBSD sources as possible, and avoid destabilizing i386 > in the process. On alpha, that means int is 32 bits, long is 64 bits. > Where there are variables in user-space that are passed to the kernel in > FreeBSD/NetBSD and the size of these variables differs when compiled on > alpha, I change the variable so that there is no effective change to i386. > This commonly means that things coded as long and used as 32-bit integers > are changed to int. And pointers that are cast to int are changed to cast > to long. Is there a serious impediment to using *int32_t/*int64_t instead? These give you explicitly-sized storage, and make it clear that you mean them to stay that way... -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message