Subject: Re: DMA buffers
To: None <thorpej@zembu.com>
From: Marcus Comstedt <marcus@idonex.se>
List: port-dreamcast
Date: 01/19/2001 20:16:14
>>>>> "Jason" == Jason R Thorpe <thorpej@zembu.com> writes:

  Jason> Well, some, maybe.  The SHB->PCI bridge may be Dreamcast-specific?  That
  Jason> may require Dreamcast-specific bus_dma(9) routines.

Yes.  Actually, it may very well be specific to the ethernet adapter,
as the glue logic is inside the expansion module and not on the DC
mainboard.  Anyway, that work is for Monday, when I get my ethernet
adapter.  :-)


  Jason> Anyway, you would probably be served a little better for Maple right now
  Jason> by just using uvm_pglistalloc() directly, which gives you a list of
  Jason> vm_page structures.  Like so:

Thanks for the code.  I'll put that in maple.c.  I'm a little
surprised that there isn't already a function like this in kern...


  // Marcus