Paperback: 484 pages
Publisher: Apress; 1st ed. edition (December 15, 2011)
Product Dimensions: 7.5 x 1.1 x 9.2 inches
Shipping Weight: 2.3 pounds (View shipping rates and policies)
Average Customer Review: 3.3 out of 5 stars See all reviews (6 customer reviews)
Best Sellers Rank: #959,625 in Books (See Top 100 in Books) #171 in Books > Computers & Technology > Programming > Apple Programming #292 in Books > Computers & Technology > Operating Systems > Macintosh #466 in Books > Computers & Technology > Hardware & DIY > Design & Architecture
First of all "OS X and iOS Kernel Programming" is basically the second book on the development in xnu kernel environment, the first being of course Amit Singh's wonderful "Mac OS X Internals". While Amit's book is more of a greatly detailed overview of the inner functioning of the xnu kernel the "OS X and iOS Kernel Programming" deals more with the practice of kernel development, at least this is my impression. Based on that i find only one big flaw with this book: incomplete coverage. This is really a book about IOKit driver development. BSD file system drivers, KAuth framework, sysctl, etc. is only very briefly mentioned if at all. This leaves a huge gap in the overview since those are integral parts of the Mac OS X kernel. More minor flaws basically have to do with coding examples and lack thereof. This book can greatly benefit with the more complete examples since most of the early chapters often end the discussion abruptly without having shown the full application of the topic in practice.Nevertheless this book succeeds in a more practical and rarely discussed topics such as kernel debugging, driver deployment, file IO from the kernel, user/kernel notifications and memory mapping, thread management and user land interaction, device DMA. The IOKit focus of the book also let the authors describe a lot of device driver types. All in all this is in my opinion a long needed book to fill the gap on practical issues of xnu kernel development and i greatly enjoyed reading it. I recommend it to anyone beginning the IOKit driver development.
Completely skips anything video related. Might better be called: "OS X and iOS USB & PCI Drivers Kernel Programming". The parts that are included are not bad though.
I was actually surprised how much I liked this book. It does an excellent job of collecting all of the scattered information about Apple device drivers. Granted, most of this information is available elsewhere, but it can be difficult to find in one location, and Apple's technical documentation is notoriously incomplete.