Re: sending messages from kernel space/ kexts to user space
Re: sending messages from kernel space/ kexts to user space
- Subject: Re: sending messages from kernel space/ kexts to user space
- From: Phil Jordan <email@hidden>
- Date: Thu, 23 Feb 2012 11:35:29 +0100
On Mon, Feb 20, 2012 at 2:56 AM, me <email@hidden> wrote:
> Thanks, Eric! I purchased Amit Singh's book. The review on Halvorsen's book said that it mainly covered device drivers. Is this correct?
Singh's book is a bit dated at this point, and most of it isn't about
practical kernel programming as such - it's more of a description of
the whole system, going well beyond just the kernel, and with just one
chapter on making your own kexts. Having said that, I still look
things up in it with some regularity, as some things haven't changed
(much) since OSX 10.4. It's around 1200 pages, so even if most of it
isn't of much interest to you, there will undoubtedly be some useful
stuff in there.
Halvorsen's book is rather more practical and focused on kext
programming. Things like memory management, user/kernelspace
communication, synchronisation and threading, debugging, etc. are
generally applicable to all kinds of kernel extension. As you say
there are quite a few chapters for various different types of device
drivers, but IIRC there's also a chapter specifically about
non-device-driver network kexts. Contrary to what the title of the
book suggests, there's no practical info about iOS in there, by the
way, I can only assume that's a marketing gimmick.
Amazon's "look inside" feature is probably your best bet for deciding
what to go for.
(disclosure: I was one of the tech reviewers for the Halvorsen book -
I don't get any incentives, financial or otherwise for recommending
it; note also that I only read an early draft of the book, but as far
as I know the structure stayed the same)
Hope that helps,
phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden