[haiku-development] Re: 64 bit physical addresses

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 22 Jun 2010 22:29:08 +0200

On 2010-06-22 at 19:02:05 [+0200], Philippe Houdoin 
<philippe.houdoin@xxxxxxxxx> wrote:
> Ingo asked:
> > I wasn't quite sure what to do what to do with several drivers for USB
> > devices (usb_serial, usb_audio, etc.). They allocate memory with
> > B_CONTIGUOUS -- usually a sign for memory for DMA -- but the physical
> > addresses are never retrieved as far as I have seen. I might have
> > overlooked something, though.
> 
> AFAIK, the physical addresses are retrieved by the USB bus module who
> handle the USB transfert request.

If that is the case, it escaped me where. Recursively grepping for 
get_memory_map through src/add-ons/kernel turns up only two hits in USB 
related code. Each in the bus manager after a respective create_area().

> I guess USB stack and busses modules will need to be made 64bit
> compliant to support such drivers...

Yep.

CU, Ingo

Other related posts: