On Wed, 21 Sep 2011 13:33:37 +1200, Gerald Zajac <zajacg@xxxxxxxxxxxxx> wrote:
Ingo Weinhold wrote:Thanks for the info Ingo. I have one question about create_area() and that is, can it be used in a driver which is part of the kernel?Gerald Zajac wrote:Does the Haiku kernel have a function for allocating contiguous memory like the FreeBSD function contigmalloc() ?You're looking for create_area() [1] with B_CONTIGUOUS. CU, Ingo[1] http://haiku-os.org/legacy-docs/bebook/TheKernelKit_Areas.html#create_area
yes its in the kernel kit :) Clemens