On 2/7/07, Martyn Welch <[EMAIL PROTECTED]> wrote:
Which leads me to the question: what is the best method to reserve a large
(~4MB) coherent buffer for DMA transfers?
May be you should to use alloc_pages with __GFP_DMA flag, and then use
page_address to get address of first allocated page.
Hi Asgard,
Thank you for your reply.
> I don't sure, that linux performs to allocate bootmem after kernel already
> booted.
> As I know, bootmem allocator "destroyed" when kernel initializes buddy
> allocator.
> Indeed you can look at arch/i385/mm/init.c, mem_init routine.
> kernel pass
2 matches
Mail list logo