Skip to Content
OS X and iOS Kernel Programming
book

OS X and iOS Kernel Programming

by Ole Henry Halvorsen, Douglas Clarke
December 2011
Intermediate to advanced
485 pages
15h 47m
English
Apress
Content preview from OS X and iOS Kernel Programming

Building a RAM Disk Device

Having examined the methods that must be implemented to support the IOBlockStorageDevice interface, we can now take a look at how a simple RAM disk device can be implemented in Mac OS X. As with the driver for any disk device in the I/O Kit, we will split our driver into two classes: the transport driver class, which implements the functionality and communicates with the hardware device, and a class that implements the IOBlockStorageDevice interface, which acts as an interface between the transport driver and the device services layer of the storage driver stack.

As we have seen, the I/O Kit does not require the transport driver for a storage device to be written in any particular way or to subclass from any particular ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Kernel Programming - Second Edition

Linux Kernel Programming - Second Edition

Kaiwan N. Billimoria
Linux Kernel Programming

Linux Kernel Programming

Kaiwan N. Billimoria

Publisher Resources

ISBN: 9781430235361Purchase book