在 mac os x Leopard 中创建 IOBlockStorageDriver

发布于 2024-09-24 10:23:18 字数 68 浏览 1 评论 0原文

如何在 mac os x leopard 中创建一个简单的 IOBlockStorageDriver。任何帮助将不胜感激。

How can one create a simple IOBlockStorageDriver in mac os x leopard. Any help would be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

想你的星星会说话 2024-10-01 10:23:18

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文