Curated source guide
Explore Apple's XNU kernel source code interactively. Study Mach IPC, virtual memory, I/O Kit drivers, BSD internals, and the hybrid kernel architecture behind macOS and iOS.
View upstream repositoryosfmk/mach/ — Mach type definitions visible to user spaceosfmk/kern/ — Kernel startup — Mach subsystem initialization sequencebsd/kern/ — BSD layer initialization — POSIX personality brought onlineiokit/Kernel/ — I/O Kit startup — C++ runtime and driver matching beginsosfmk/ — Mach kernel core: tasks, threads, IPC, VM, scheduler, and architecture glue.bsd/ — POSIX and Unix layer: processes, syscalls, networking, VFS, credentials, and signals.Loading source workspace
XNU source explorer
Explore Apple's XNU kernel source code interactively. Study Mach IPC, virtual memory, I/O Kit drivers, BSD internals, and the hybrid kernel architecture behind macOS and iOS.