Re: Allocate contiguous wired memory and obtain physical address
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com On Dec 21, 2008, at 9:43 AM, John D. wrote: 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? This functionality is provided by IOBufferMemoryDescriptor. = Mike _______________________________________________ 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... IOMallocContiguous only gets you half of the picture. Note that you should not attempt to allocate contiguous memory on your work path, as the scan/relocation process can be exceptionally expensive once the system has been up and running. It's best shortly after system startup, and acceptable at module load time or during other exceptional events (hardware arrival, for example). This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith