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=3t393qXf5SulXeD9GQDXU5OXfA1sBk9zNWiSeF38VEQ=; b=E71azzE0IZpOT8yLBNINA90Ah3/5rZd31EsGkFN6B4XgPZ8+Z0FzCx9APp5Jr8V+Uu FLAd1HRYvjPyPuoRlV2SIk15HiITArwhlDtxPpQwMmTTMA9qszaoTuxRgAnF3oUFqwav 2GBLkXZcDR5uoJv6yIWTyrbA34OjDfkgP4TEk= 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=ie6/5svsOwWrqfBoFiG7WwN5AJ+RJq7aJ36B4ob5ylfWyOgPhPZh7vddLbWWjBqdlS 0pZeucEx3173uZIaWRxHYBKt3nfqMJZjMn+SZz2sq8B0t3wn63d+LWT2ajA+vKxhKZEr 8Oi/GIEiHGVeLyDPJtHx+kviqN4IMzp0MLnQ4= On Sun, Dec 21, 2008 at 10:03 PM, Michael Smith <msmith@mu.org> wrote:
If you were to explain *why* you want this allocation, it might be easier to help you.
I'm toying with how the IDT is handled in XNU. Basically I need to setup my own IDT via LIDT. Apparently doing this via mp_rendezvous() (this is for a project involving a patch to the kernel source) and using the physical address returned by IOMallocContiguous won't help. Obviously I'm copying the original IDT and saving its original location to be restored eventually, albeit it's not required in this scenario. I come from a Linux kernel development background and never experienced this issue before, so I suppose I'm missing something specific to XNU. Does the returned phys addr truly contain a fixed address value?
I asked because kmem_alloc API functions exist for the same purpose but they aren't even exported through com.apple.kernel. Give it a break already.
There was no pun intended there, at all. I was simply stating a fact. Since IOLib provides perfectly useful API for this, it's not a problem this time. -- 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