OSX中XNU内核的系统调用的清单和文档 [英] List of and documentation for system calls for XNU kernel in OSX

查看:155
本文介绍了OSX中XNU内核的系统调用的清单和文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图弄清楚如何获得OSX的XNU内核中可用的系统调用的列表和文档.我已经在Google上搜索了很多,但是没有找到任何有用的东西.据我了解,调用约定与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?

谢谢

推荐答案

官方"列表位于达尔文页面在苹果公司.具体来说,请参见文件 syscalls.master 在XNU发行版中. (如果您缺少预期的内容,请尝试使用较新的XNU版本.)

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.)

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

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

您肯定会想阅读Amit Singh的OS X内核书,请参阅该书的网站.它是为10.4重写的,主要是针对PPC的,但是仍然是您可以在内核上获得的最详尽的信息.

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.

这篇关于OSX中XNU内核的系统调用的清单和文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆