From owner-cvs-all Tue Jan 9 20:44:56 2001 Delivered-To: cvs-all@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A466237B401; Tue, 9 Jan 2001 20:44:30 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f0A4iUs58704; Tue, 9 Jan 2001 21:44:30 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200101100444.f0A4iUs58704@harmony.village.org> To: Mike Smith Subject: Re: cvs commit: src/sys/alpha/include bus.h Cc: Matt Jacob , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Tue, 09 Jan 2001 14:37:57 PST." <200101092237.f09MbvJ01112@mass.osd.bsdi.com> References: <200101092237.f09MbvJ01112@mass.osd.bsdi.com> Date: Tue, 09 Jan 2001 21:44:30 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200101092237.f09MbvJ01112@mass.osd.bsdi.com> Mike Smith writes: : > mjacob 2001/01/09 10:17:49 PST : > : > Modified files: : > sys/alpha/include bus.h : > Log: : > The alpha architecture is 64 bits, so bus_addr_t && bus_size_t should really : > be 64 bits wide. The largest known current actual physical implementation : > is 40 bits, so BUS_SPACE_MAXADDR should reflect this. It also seems to : > me that BUS_SPACE_UNRESTRICTED should b ~0UL, not ~0. : : Where a constant is of a known type, one should avoid "UL" in favour of : the real type, eg. (~(bus_addr_t)0). There's too much "long" in the bus : code already. 8( Yes. And shouldn't we have #defines for these things? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message