Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jun 2010 15:43:52 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r208850 - projects/ppc64/sys/powerpc/include
Message-ID:  <184A275D-B98A-4DBF-9F4D-22F27B9319DD@mac.com>
In-Reply-To: <201006052041.o55KfMF6032155@svn.freebsd.org>
References:  <201006052041.o55KfMF6032155@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 5, 2010, at 1:41 PM, Nathan Whitehorn wrote:

> Author: nwhitehorn
> Date: Sat Jun  5 20:41:22 2010
> New Revision: 208850
> URL: http://svn.freebsd.org/changeset/base/208850
> 
> Log:
>  BUS_SPACE_UNRESTRICTED is a flag, not an address, so it should be an int,
>  not a long.

This probably isn't right. How would you distinguish between a 32-bit
maximum of and unlimited if both can have the value 0xFFFFFFFF.
Making BUS_SPACE_UNRESTRICTED a long prevents zero-extension to 64-bit
and thus prevents this ambiguity.

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?184A275D-B98A-4DBF-9F4D-22F27B9319DD>