OSX 中 XNU 内核的系统调用列表和文档

发布于 2024-08-27 14:57:59 字数 105 浏览 4 评论 0原文

我试图弄清楚如何获取 OSX 中 XNU 内核中可用的系统调用的列表和文档。我用谷歌搜索了很多,但没能找到任何有用的东西。据我了解,调用约定与 BSD 相匹配,这是正确的吗?

谢谢

I'm trying to figure out how to get a list of and documentation for the system calls available in the XNU kernel in OSX. I've googled around quite a bit, but haven't been able to find anything of use. As I understand the calling conventions match BSD, is that correct?

Thanks

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

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

发布评论

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

评论(1

明媚殇 2024-09-03 14:57:59

“官方”列表位于 Apple 的 Darwin 页面。具体请参阅文件 syscalls XNU 发行版中的 .master。 (如果缺少您期望的内容,请尝试更新的 XNU 版本。)

系统调用的 BSD 部分来自 BSD,但有些 mach 调用遵循完全不同的约定。

您肯定会想阅读 Amit Singh 的 OS X 内核书籍,请参阅该书的网站。它针对 10.4 进行了重写,主要针对 PPC,但仍然是您可以获得的有关内核的最详细信息。

The "official" list is at Darwin page at Apple. Specifically, see the file syscalls.master in the XNU distribution. (If something you expect is missing, try a newer XNU version.)

The BSD part of the system calls comes from BSD, but there're mach calls which follow quite different conventions.

You'll definitely want to read Amit Singh's OS X kernel book, see the book's website. It's rewritten for 10.4 and mainly for PPC, but still is the greatest detailed info you can get on the kernel.

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