LEGACY DOCS · 12.2Stable is 13.2. This page stays because it still owns historical or unchanged contracts.CURRENT 13.2 →
RELEASE LINE13.2 HISTORICAL13.1 PREDECESSOR13.0 PREVIOUS12.4 NATIVE MIRARCHIVE

LEGACY DOCS · 12.2

PAGE ROLE · NORMATIVE CONTRACT

ELF64 + MULTIBOOT2

RAW SOURCE · ELF64_MULTIBOOT2.md
SHA-256 · 89963c6c7ac223b86a32981d07baae3a9762f514c431acc489f7938089dfb682

EXACT SOURCE NOTE: this package source retains (v12.2 draft) in the title while its Status: line declares the document a normative v12.2.0 release contract. The raw file is preserved byte-for-byte.

ELF64 and Multiboot2 (v12.2 draft)§

Status: normative release contract for v12.2.0.

DByte writes and parses ELFCLASS64 little-endian EM_X86_64 objects and static executables internally. Supported relocations are R_X86_64_64, PC32, PLT32, 32, and 32S; every application checks range and overflow before committing output. A final executable has no unresolved relocations, PT_INTERP, or dynamic runtime.

The bare-metal image uses a Multiboot2 i386 header in the first 32 KiB. Its deterministic wrapper starts at physical 0x00100000; transition structures remain below 0x00200000; the DBYTE64 payload begins at 0x00200000. The bootstrap saves Multiboot registers, installs a temporary GDT, identity maps 1 GiB with 2 MiB pages, enables PAE and EFER.LME, enables paging, enters long mode, aligns a bounded static stack, and calls kernel_main using DBYTE64 RAX/RDX slots.

The transition stub performs mode entry only. It contains no DByteOS kernel logic and is synthesized by the internal final-image writer. GRUB ISO creation is verifier-owned boot transport and contributes no object to the DByte link. ELF and BIN emissions carry the same checked address-tagged load image, so no external objcopy is required.