Subject: Re: physically contiguous memory
To: None <tls@rek.tjls.com>
From: Marcus Comstedt <marcus@idonex.se>
List: tech-kern
Date: 03/26/2001 04:15:27
>>>>> "Thor" == Thor Lancelot Simon <tls@rek.tjls.com> writes:
>> You have to use uvm_pglistalloc(). Something like this:
Thor> That's almost certainly a *very* bad idea.
Thor> For any purpose I can think of, you should be using bus_dmamem_alloc.
How about the purpose of writing a bus_dmamem_alloc function? If
you're implementing a new bus, you'll have to start somewhere...
// Marcus