On Wed, 28 Jul 1999, Garrett Wollman wrote:
> <<On Wed, 28 Jul 1999 00:57:49 -0700 (PDT), Doug Rabson <[EMAIL PROTECTED]> said:
>
> > Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are
> > equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual()
> > address of the resource is initialised to point into either dense-mapped
> > or bwx-mapped space respectively, allowing direct memory pointers to be
> > used to device memory.
>
> This makes me rather uncomfortable, on several fronts. I believe it
> would be more appropriate to add a type argument to rman_get_virtual.
To make that work, rman_get_virtual would need to be a BUS interface
method. One possible alternative is to use SYS_RES_MEMORY with a set of
flags to specify how the memory is to be accessed.
--
Doug Rabson Mail: [EMAIL PROTECTED]
Nonlinear Systems Ltd. Phone: +44 181 442 9037
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message