Re: DMA questions (invalidate_dcache and flush_dcache)
Re: DMA questions (invalidate_dcache and flush_dcache)
- Subject: Re: DMA questions (invalidate_dcache and flush_dcache)
- From: Ryan Rempel <email@hidden>
- Date: Thu, 11 Sep 2003 19:16:32 -0500
On Wednesday, September 10, 2003, at 09:11 AM, Sean McBride wrote:
Ryan Rempel (email@hidden) wrote on Mon, 8 Sep 2003
15:19:42 -0500:
The driver uses a couple of functions in <osfmk/ppc/pmap.h>, namely:
<http://developer.apple.com/technotes/tn/tn2090.html> seems to suggest
that using that pmap.h stuff is deprecated.
Well, I'm not entirely sure that it's *all* deprecated. What TN 2090
says clearly is that physical addresses obtained through pmap.h
routines aren't useful anymore. But invalidate_dcache and flush_dcache
take virtual addresses as arguments, not physical addresses (i.e they
take va's, not pa's). So the inputs ought to be valid still. Though I
do wonder whether you're right--that's why I asked the question.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.