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:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=TJ0nA91WCACv4HxdN459NQ05aCDO6W7mGu3cMlqRTBI=; b=S42NWpia3SrxraCS7e6M2KZntKKNOJehBkLCYu9ejPvJSpNVoaZDfTVKtXzhAYkjiL UShV1hfjpWsOvW8PxHXxYTazuQl5Bbx66oDc6BAz4wwSXJxSSk/i4qk0cYTieyMvDzUm /QZsma3IgoHeGki97A+BPu5HA/nNvS8r4wYl4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=W35+fHGPtkQDVfzy+IF3Cq5tHIlQKjchnW/3ddvg3lyiEhjdXnnPxjXp0mbEV+WMtD UNaW7A0K5aQkBsVW4ZaTUklP5uMzUqkQdiayO7SuD1CgoWs8s7oMn/2FAVcgdPGBnNbR FrFNZgloBGMKzI/NsHlQJYoOpzVKEZhT+Ql6Y= Thank y'all! Let's see how things work out. ;) On Fri, Aug 6, 2010 at 12:36 PM, Terry Lambert <tlambert@apple.com> wrote:
What Shantonu and Mike said.
-- Terry
On Aug 6, 2010, at 1:47 AM, shailesh jain wrote:
terry ?
On Thu, Aug 5, 2010 at 11:10 AM, shailesh jain <coolworldofshail@gmail.com> wrote:
Hello again! I have a kernel extension (which is not an IOKit driver) that uses OSMalloc_ KPI to allocate buffer. I pass in OSMT_DEFAULT so that buffers that it returns are wired to memory. I have a use case where in I would like to get physical address of the first byte of the buffer. I understand that buffer will not be contiguous in Physical memory and I am fine with that. Do we have such an interface ---
something like: physAddr = virt_to_phys(buffer); // Gives physical address of first byte of the buffer
-- Shailesh Jain _______________________________________________ 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