如何为 OSX 编写设备驱动程序?
所以我正在尝试制作一个 hackintosh,并且我想为我拥有的硬件编写一个设备驱动程序。
如何开始学习如何对设备驱动程序进行编程?需要汇编语言吗?
So I am trying to make a hackintosh, and I want to write a device driver for a piece of hardware I have.
How would one go about learning how to program device drivers? Does it require assembly language?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能想要编写一个内核扩展。
Apple 在其开发人员中对此主题进行了介绍 图书馆
You would want to write a Kernel extension.
Apple has a introduction to the topic in their developer library
您需要学习 I/O Kit——它是内核中的(嵌入式)C++ 框架/运行时。它是什么样的设备? PCI?
这是另一个文档链接:
https://developer .apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/AccessingHardware/AH_Intro/AH_Intro.html
好运气...
You will need to learn I/O Kit--it's the (embedded) C++ framework/runtime in the kernel. What kind of device is it? PCI?
Here's another documentation link:
https://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/AccessingHardware/AH_Intro/AH_Intro.html
Good luck...