如何为 OSX 编写设备驱动程序?

发布于 2024-12-09 06:07:00 字数 89 浏览 6 评论 0原文

所以我正在尝试制作一个 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 技术交流群。

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

发布评论

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

评论(2

勿忘心安 2024-12-16 06:07:00

您可能想要编写一个内核扩展。

Apple 在其开发人员中对此主题进行了介绍 图书馆

You would want to write a Kernel extension.

Apple has a introduction to the topic in their developer library

孤城病女 2024-12-16 06:07:00

您需要学习 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...

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