I look to Apple’s XNU kernel source when I need to understand macOS Mach kernel APIs, and I’m wondering whether a better documentation resource exists. This question connects to my broader experience with operating system internals and understanding computer fundamentals.
I think the best macOS Mach kernel API documentation is still just reading the XNU kernel source drop from Apple.
I ask whether there is some hidden-gem documentation for the available Mach APIs, such as those in mach.h.
I ask whether reading the kernel source is still my only real resource for Mach API documentation.
Related: operating system internals, api docs and integration, apple platform quirks