Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 00:28:24 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: Proposed bus address typedef.
Message-ID:  <200012130828.eBD8SOT81109@earth.backplane.com>
References:  <200012130730.eBD7UV307046@mass.osd.bsdi.com> <20001212232457.X16205@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
    I'd prefer it not be a compile-time option.  The code is
    complicated enough already.  Pointers on IA32 are still
    32 bits... just 32 bits per address space.  So there is no particular
    need for them to be visible outside the device driver core.  Most of
    the rest of the kernel that accesses a physical address could just as
    well use a page index rather then an actual address.  A page index still
    fits in an int (i.e. vm_page_t->phys_addr could easily become a page
    index, or could become a machine-dependant MMU compatible value if not
    a page index). Most of the rest of the kernel either uses virtual
    addresses, which are still 32 bits, or block numbers.  If the change can
    be made without impacting the size of heavily used system structures
    I'm all for it.

						-Matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012130828.eBD8SOT81109>