在 mac os x Leopard 中创建 IOBlockStorageDriver
如何在 mac os x leopard 中创建一个简单的 IOBlockStorageDriver。任何帮助将不胜感激。
How can one create a simple IOBlockStorageDriver in mac os x leopard. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
XNU 内核的某些部分和 Mac OS X 附带的驱动程序是开源的:
http://opensource.apple.com/release/mac-os-x-1066/
Intel PIIX ATA 控制器驱动程序 似乎非常适合您正在寻找的东西。也许您可以使用它作为工作示例。
对于一般的 Mac OS X 内核信息,我发现 Amit Singh 的《Mac OS X Internals》一书非常有用。
根据您尝试编写的驱动程序类型,您可能需要查看 Apple 提供的示例过滤器方案驱动程序,以及上述书中类似的“简单加密磁盘”示例。源代码位于链接
Some parts of the XNU kernel and the drivers which ship with Mac OS X are open source:
http://opensource.apple.com/release/mac-os-x-1066/
The driver for the Intel PIIX ATA controller seems a good fit for what you're looking for. Maybe you can use it as an example to work from.
For general Mac OS X kernel information, I've found the book Mac OS X Internals by Amit Singh very useful.
Depending on the type of driver you're trying to write, you might want to look into the example Filter Scheme Driver provided by Apple, and the similar "Simple Crypto Disk" example from the aforementioned book. The source code is available at Link