一.Mac OS X内核编程开发官方文档:
I/O Kit Fundamentals: I/O Kit基础 - Mac OS X系统内核编程
Threading Programming Guide:MAC OS X 线程编程指南 - Mac OS X系统内核编程
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Multithreading/index.html
Kernel Programming Guide:Mac OS内核编程 - Mac OS X系统内核编程
Kernel Extension Programming Topics:Mac OS X内核扩展编程 - Mac OS内核编程
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConcept/index.html
Daemons and Services Programming Guide: 守护进程和服务编程指南 - Mac OS内核编程
https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/index.html
Introduction to 64-Bit Transition Guide:
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/64bitPorting/index.html
Technical Note TN2163- Building Universal I/O Kit Drivers:
https://developer.apple.com/library/mac/#technotes/tn2163/_index.html
Technical Note TN2063- Understanding and Debugging Kernel Panics:
https://developer.apple.com/library/mac/#technotes/tn2063/_index.html
Technical Note TN2118- Kernel Core Dumps:
https://developer.apple.com/library/mac/#technotes/tn2004/tn2118.html
理解与调试Mac OS X内核恐慌:
http://www.apple.com.cn/developer/mac/library/documentation/Hardware/Conceptual/tn2002/
在 Mac OS X 内核发生崩溃时,系统会在屏幕上显示一条内核恐慌信息。一旦发生这样的错误,只有通过重新启动才能恢复系统的运行。
二、MAC驱动开发官方文档
Accessing Hardware From Applications: 通过应用程序访问MAC硬件 - Mac OS X系统内核,MAC驱动开发
USB Device Interface Guide:MAC OS X USB设备驱动接口指南 - MAC驱动开发
HID Class Device Interface Guide:MAC OS X人机界面设备接口指南 - MAC驱动开发
https://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/HID/index.html
I/O Kit Device Driver Design Guidelines:I/O Kit设备驱动设计指南 - Mac OS X系统内核,MAC驱动开发
MAC OS X USB 驱动程序匹配原则基于 USB 通用类规范 。
三.Mac OS X系统内核,MAC驱动官方开源代码:
MAC OS X苹果开源项目源码下载地址: http://opensource.apple.com/tarballs/
里面有非常多的MAC OS X开源项目,本人经常使用的有以下资源:
http://opensource.apple.com/tarballs/AppleUSBCDCDriver/
http://opensource.apple.com/tarballs/IOUSBFamily/
http://opensource.apple.com/tarballs/IOSerialFamily/
http://opensource.apple.com/tarballs/IONetworkingFamily/
四. Mac OS X系统内核,MAC驱动调试工具:
本人主要使用的就是Kernel Debug Kit,可以点以下链接,搜索Kernel Debug Kit即可。
(需要Apple Developer帐号,免费注册一个即可。)