code wiki / _hdl_build / _autorun_targets_gate_authored.nx

_autorun_targets_gate_authored.nx

buildroot/runtime/_hdl_build/_autorun_targets_gate_authored.nx

4991 B137 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

_autorun_targets_gate_authored.nx -- gate for X-Q-007 (slow-beat targets as DATA). No mocks: adc_beat on a SCRATCH conf runs REAL durable-lane targets (the proven toy fixtures). Checks: PARSE-T scratch conf w/ 2 T rows -> adc_targets count==2 PARSE-DEFAULT conf w/o T rows -> count==1 + name==nx_math_rung_run (parse-only: the default target is NOT executed here) PARSE-REJECT malformed T row (bad charset) skipped, valid one kept BEAT-RUNS adc_beat on toy conf -> TGT rows green=0 red=7, BEAT row rung_rc=7 targets=2 verdict=ATTENTION (worst-rc law) Markers: ATG-*; final ATGATE row -> knowledge/status/autorun_daemon.log license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_ad_core.nx _autorun_targets_gate_authored

imports: nx_ad_core.nx

imported by: nobody (leaf or entry point)

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

main atg_p atg_write sys_openat_wr atg_f adc_targets sys_mmap adc_read sys_openat_rd sys_read sys_close atg_streq atg_chk atg_p ↻ sys_openat_append atg_f ↻ atg_count sys_read ↻ adc_beat sys_mmap ↻ adc_targets ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_openat_append ↻ adc_run_one sys_fork sys_mmap ↻ sys_openat_append ↻ sys_dup3 sys_execve sys_exit sys_wait4 adc_w sys_write adc_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻

structs

none

consts

none

functions

15func atg_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: atg_chkmain
16func atg_f(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 2: atg_writemain
18func atg_chk(label: *u8, ok: i64, bad: *i64) -> i64
called by 1: main calls 1: atg_p
25func atg_write(path: *u8, s: *u8) -> i64
called by 1: main calls 2: sys_openat_wratg_f
36func atg_streq(a: *u8, b: *u8) -> i64
called by 1: main
46func atg_count(path: *u8, pat: *u8) -> i64
called by 1: main calls 1: sys_read
70func main() -> i64