code wiki / _hdl_build / nx_comms_hwup_census.nx

nx_comms_hwup_census.nx

buildroot/runtime/_hdl_build/nx_comms_hwup_census.nx

7397 B122 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic comms
docsdependenciesstructsconstsfunctions

about

nx_comms_hwup_census.nx -- the HARDWARE-UP RUNG LADDER for the comms stack (operator 2026-07-02: "get the hardware foundational rung each rung up through software etc to full s class exceed"). Every rung carries REAL evidence (a measured/gate log via the last-verdict rule) -- nothing asserted: R0 HARDWARE codec compute on THIS CPU (nx_lpc_speed_bench: 77x/241x realtime-48k measured). Honest boundary: camera/mic + NIC ride the browser/OS -- named, not claimed. R1 CODEC CORE the shipped wasm core is complete + faithful (sovereign VM diff, 4/4). R2 LOSS ENGINE RS-FEC relay organ proven (k=8,m=2, 4/4 KATs). R3 INTL TRANSPORT measured on the international profiles vs the rival classes (nx_intl_h2h): live-TCP BEHIND, FEC-target matches rival-UDP + beats rival-TCP-fallback. R4 QOE GOVERNOR MOS model + anti-liar (ROOMQOEGATE). R5 LAST MILE the JS surface ratchet (may only shrink toward the core). R6 LIVE OPS fresh funcheck video PASS (a dead room fails this census). THE GAP ROW: the FEC engine is NOT wired into the live daemon -- detected mechanically (self-flips when wired). That wiring is the named s-class-exceed move for international interactions. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate_green.nx nx_comms_hwup_census.nx

imports: nx_syscalls.nxnx_gate_green.nx

imported by: nobody (leaf or entry point)

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

main pw sys_write slen sys_mmap rung gg_gate_green gg_gate_judge sys_mmap ↻ gg_read sys_openat_rd sys_read sys_close gg_line_judge gg_last nx_str_len pw ↻ cr_live2 sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read ↻ sys_close ↻ cr_find_eol sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real contains slen ↻ filehas sys_mmap ↻ sys_read_file ↻ contains ↻ gg_gate_green ↻ pn sys_mmap ↻ sys_write ↻

structs

none

consts

18const K_MAGIC_8192: i64 = 8192
19const K_MAGIC_86400: i64 = 86400

functions

21func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 2: pwcontains
22func pw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 }
called by 2: rungmain calls 2: sys_writeslen
23func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func contains(hay: *u8, n: i64, needle: *u8) -> i64
called by 2: filehascr_live2 calls 1: slen
32func filehas(path: *u8, pat: *u8) -> i64
called by 1: main calls 3: sys_mmapsys_read_filecontains
37func cr_find_eol(b: *u8, n: i64, st: i64) -> i64 { var i: i64=st; while i<n { if (b[i] as i64)==10 {return i} i=i+1 } return n }
called by 1: cr_live2
38func cr_live2(logpath: *u8, maxage_s: i64) -> i64
82func rung(name: *u8, log: *u8, anchor: *u8, failp: *i64) -> i64
called by 1: main calls 2: gg_gate_greenpw
89func main() -> i64