code wiki / (root) / nx_osboot_research_fetch.nx

nx_osboot_research_fetch.nx

buildroot/runtime/nx_osboot_research_fetch.nx

5447 B65 linesdepth 24pulls 155 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_osboot_research_fetch.nx -- bank the BOOTABLE-SPORE rung field (operator 2026-07-07: NishiOS rung 4 = the bootable spore -- native NXE loader + VFS-on-blockfs mount + journaling; "match Puppy" = live image from POST). Fetches the incumbents' OWN designs so the rung is RESEARCHED not guessed, across the 6 axes the rung touches: (1) the live-image incumbents we measure against (Puppy/TinyCore = the nearest rival class), (2) live-image MECHANICS (squashfs read-only image + overlay + initramfs = how they boot from a medium without touching the host disk -- the never-brick-aligned design), (3) the boot chain from POST (POST->firmware->MBR/UEFI->loader-> kernel = the exact ladder our spore must climb in the emulator), (4) executable LOADING (what execve/ELF loaders do, so the native NXE loader exceeds knowingly), (5) JOURNALING/crash-consistency (jbd2-class WAL vs soft-updates vs log-structured vs CoW = the design space for nx_journal), (6) VFS/mount internals (mount semantics + inode model for VFS-on-blockfs). Sovereign TLS; idempotent. expect_exit:0 ORIGINAL

dependencies 1 imports · 0 importers

nx_research_engine.nx nx_osboot_research_fetch.nx

imports: nx_research_engine.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main rf_init nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_length x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add

structs

none

consts

12const K_MAGIC_8388608: i64 = 8388608

functions

14func F(u: *u8, o: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 { return rf_fetch_bank(u, o, store, out, cap) }
called by 1: main calls 1: rf_fetch_bank
16func main() -> i64