[haiku-development] Re: Contiguous Memory Allocation

  • From: Clemens <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 21 Sep 2011 13:36:25 +1200

On Wed, 21 Sep 2011 13:33:37 +1200, Gerald Zajac <zajacg@xxxxxxxxxxxxx> wrote:


Ingo Weinhold wrote:
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

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?


yes its in the kernel kit :)
        Clemens

Other related posts: