site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HD2A5tZ7M7kGn0hzjpC5HcasvsZc7VTjxfJEPB6tNewNv1An5hJo7LbmqNuI/+0THrxtUKJ6nf+6Uw148Wi3N9WDU8th1pPn8NtH26DdrftYIDq8QW4Od7r6xajmVnlawWVU4k57vnrP1Y9wf6eWkF0Z1bMqCqSlC6D0m1A4up0= Albeit somewhat brute-force, Jonathan Rentzsch's mach_override can solve a lot of tough problems. With some adaption, you could use it to override the kernel's pset_add_task(processor_set_t pset, task_t task) or similar function with your own version. In this case you would simply get the needed information out of the task_t before calling the real pset_add_task. Since mach_override would need adaption for use within the kernel, and it's also processor-dependent, you could write your own special-purpose overriding routine based on the same principles. That is very interesting. I'm looking at it right now. Certainly it is more invasive than what I had in mind, but I'm not really in a position to be picky if it works. I noticed in the documentation that he intends to one day add "mach_unoverride" support. So, what does this mean when my kext unloads? -- Curtis Jones _______________________________________________ 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... On 12/26/06, Josh Rodatus <josh@rodatus.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Curtis Jones