Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 11:47:23 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Chuck Paterson <cp@bsdi.com>
Cc:        arch@freebsd.org
Subject:   Re: removal of kvtop() on i386 
Message-ID:  <200007171847.LAA10760@mass.osd.bsdi.com>
In-Reply-To: Your message of "Mon, 17 Jul 2000 08:41:00 MDT." <200007171441.IAA22202@berserker.bsdi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 	Has anybody though about how to change this for
> architectures like Sparc where the whole idea of handing
> a physical address to the drivers on a bus doesn't apply, and
> where a unmapping/cache flushing operation must be done
> at io completion.

Yes.  The busspace/busdma abstractions hide all of this by giving you a
set of functions which translate from "virtual space" to "bus space" 
where the latter reflects a device on a specific buss' perception of 
physical memory.  This abstraction includes map/unmap as well as pre and 
post sync hooks, functions to allocate bus-visible memory, scatter/gather 
list generation, etc.  About the only thing currently missing is explicit 
support for mbuf chains, and the NetBSD folks have had code to handle 
that for quite some time now.


-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




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?200007171847.LAA10760>