XU XUv0.16.0

Operating system development

Use Xu's freestanding and UEFI profiles to build kernels, bootloaders, drivers, and firmware with native AOT compilation. The core substrate covers memory layout, hardware I/O, ACPI/FDT/PCI, UEFI, interrupts, and task context switching.

Build the kernel & UEFI examples

Install the Xu SDK and run these commands from the root of the Xu 0.16.0 source checkout:

xu build --profile=freestanding --target=x64-none examples/baremetal/kernel_poc/main.xu -o kernel-x64.elf
xu build --profile=freestanding --target=arm64-none examples/baremetal/kernel_poc/main.xu -o kernel-arm64.elf
xu build --profile=freestanding --target=riscv64-none examples/baremetal/kernel_poc/main.xu -o kernel-riscv64.elf
xu build --profile=freestanding --target=x64-uefi --no-sse --stack-size=65536 main.xu -o BOOTX64.EFI
xu build --profile=freestanding --target=arm64-uefi main.xu -o BOOTAA64.EFI

Use file kernel-*.elf to inspect output architectures. The kernel example documents its x86-64 QEMU workflow. Compiler options include --no-sse, --stack-size, and relocatable DWARF debug info.

Hardware access and #core/* APIs

The freestanding profile builds without host operating system services or libc. Source modules can declare $freestanding. For project and compiler settings, see the freestanding profile reference.

New in 0.15.0: kernel primitives

Xu 0.15.0 expands the freestanding #core substrate with memory translation, stack unwinding, networking, storage, serial I/O, checksums, and multi-architecture interrupt/firmware helpers:

For target support and current acceptance coverage, see implementation status.