site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xNhnDwoQCpNnok4dBw1DACEOadE8igPwfJRKWEUGOhs=; b=fTN4AkcfaOxHbq6K8JeQr/gw4R0pkK+UHMWPuwdspMhJCxEuj7ZG5evGEPQ8XSyiOZ 3+v5jilBHiA40Q9NDztpv6yf4faGunbnWP8O/J4YaDrAb/MjD2cVaq8LWcUDU7l4zpk7 P+GGtTU1EhXxFcrVhbfkjVzS79IYaeUMHTc0g= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=COi0hZM9LwgORNNSHdR63/ME4+lozryq13aaaYCBHIq/V8VZ1B4nKpgCE48D76eolY QR+Z/l5NfVWGYsiqFjCoOOP9yavc0yAuskeA+4zwRCR20GAG5QAS14v2mt5J3rn64LP2 3mp4uz+Am/wikOeIOYfCRLXbhSI38epW1mPiw= 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 <tlambert@apple.com> wrote:
On Dec 21, 2008, at 9:43 AM, "John D." <johndenkar@gmail.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com