How should I approach porting a device driver to OS X?

driver, kernel, macos

Solution

The Apple Hardware & Drivers page has lots of information about Mac driver development. It should be enough to get you started. Some of the highlights:

Getting Started - A guided learning path for hardware and driver developers new to Mac OS X.

Frameworks - API references organized by framework.

USB Sample Code - Resources for developing USB devices and software to access them.

FireWire Sample Code - Resources for developing FireWire devices and software to access them.

Problem

I am thinking about migrating a Windows driver into OS X. Now I am just starting to look around to see what is available and there is a lot about objective C and cocoa. Seems that the language and the cocoa framework are high level APIs, am I right to assume that? I have strong C++ skills and I use them for kernel development, can I use the same skills for Mac driver development (I imagine the answer is yes). Has Macintosh any type of application/dev environment for building drivers?

Original source