code wiki / _hdl_build / nx_gate_sweep.nx

nx_gate_sweep.nx

buildroot/runtime/_hdl_build/nx_gate_sweep.nx

7429 B134 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic gate
docsdependenciesstructsconstsfunctions

about

nx_gate_sweep.nx -- Runs each gate in the sovereign ecosystem sequentially, reporting pass/fail based on exit codes.

dependencies 3 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_gate_sweep.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write gs_unlink sys_mmap report run_gate sys_fork sys_openat_wr sys_dup3 sys_mmap ↻ sys_execve sys_exit sys_wait4 gw ↻ gn gn ↻ gs_logline sys_openat_append sys_mmap ↻ gs_cat gs_catn sys_mmap ↻ sys_write ↻ sys_close sys_exit ↻

structs

none

consts

13const SWEEP_RUNNER: *u8 = "_offc/nx_sov_build_run.elf"

functions

18func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
23func run_gate(name: *u8) -> i64
42func report(name: *u8, tally: *i64) -> i64
63func gs_logline(tally: *i64, logpath: *u8) -> i64
77func gs_cat(b: *u8, off: i64, s: *u8) -> i64 { var o: i64 = off; var i: i64 = 0; while s[i] != (0 as u8) { b[o] = s[i]; o = o + 1; i = i + 1 } return o }
called by 1: gs_logline calls 1: sys_mmap
78func gs_catn(b: *u8, off: i64, v: i64) -> i64
91func main(argc: i64, argv: *i64) -> i64