Re: Allocate contiguous wired memory and obtain physical address
Re: Allocate contiguous wired memory and obtain physical address
- Subject: Re: Allocate contiguous wired memory and obtain physical address
- From: "John D." <email@hidden>
- Date: Sun, 21 Dec 2008 21:49:00 +0100
Unfortunately I need a explicitly not-to-be-paged-out contiguous
region. The space I require is less than a page in size, thus it's not
an issue here.
I asked because kmem_alloc API functions exist for the same purpose
but they aren't even exported through com.apple.kernel.
Thanks.
On Sun, Dec 21, 2008 at 7:30 PM, Terry Lambert <email@hidden> wrote:
>
>
> On Dec 21, 2008, at 9:43 AM, "John D." <email@hidden> wrote:
>
>> Hi,
>>
>> I would like to know what KPIs are exported to kernel extensions for
>> allocating contiguous wired memory (non pageable) and then obtain its
>> physical address.
>> Do the IOKit IOMalloc functions provide this functionality?
>
> IOMallocContiguous
>
> You can read more about it on <http://developer.apple.com>; it's the first
> result you get from typing /contiguous wired memory/ into the search box
> there. The third result tells you why you should not be doing it.
>
> -- Terry
>
--
John Denkar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden