pmap_extract question

2010-03-30 Thread Dr. Baud
Say I have a kernel module that allocates a contiguous chunk of kernel physical memory (note that a call to vtophys() reports a non-zero value): memory_chunk = contigmalloc(memory_chunk_length, NULL, M_NOWAIT,

Re: pmap_extract question

2010-03-30 Thread Dr. Baud
It was pointed out that you need to pass physical address to mmap. A step was missed in posted recipe. Consider that the return from vtophys(memory_chunk) was passed at the offset parameter. Sorry for the confusion. --- On Tue, 3/30/10, Dr. Baud wrote: > From: Dr. Baud > S