XNU is an operating system kernel designed to manage system hardware and process execution across different processor architectures. It utilizes a hybrid microkernel design that combines microkernel message passing with monolithic kernel performance by embedding critical subsystems into a single address space.
The project implements a port-based asynchronous messaging system for communication between kernel tasks and userspace processes. It manages hardware interactions through a layered driver architecture and enforces system-wide security policies via a mandatory access control interface.
Capabilities include the creation of bootable kernel cache images that link the core kernel and essential extensions into a single binary. The system supports conditional architecture compilation to include or exclude source code based on target hardware, alongside workflows for kernel debugging using external hardware interfaces.