code wiki / _hdl_build / nx_hub_publish_hostctl.nx

nx_hub_publish_hostctl.nx

buildroot/runtime/_hdl_build/nx_hub_publish_hostctl.nx

1430 B15 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind tooltopic hub
docsdependenciesstructsconstsfunctions

about

nx_hub_publish_hostctl.nx -- submit the SUPERVISOR (nx_hostctl, now carrying the HC_HUB_GW guard) to the publisher (outward, operator-approval-gated). Separate one-shot so re-runs never duplicate other rows. The live supervisor must carry HC_HUB_GW to launch+guard nx_hub_gw; promote = the F-class hostctl selfswap. Sovereign: nx_syscalls + nx_publisher. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_publisher.nx nx_hub_publish_hostctl.nx

imports: nx_syscalls.nxnx_publisher.nx

imported by: nobody (leaf or entry point)

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

main pp sys_write pub_submit pub_init pub_submit_to sys_mmap pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_final blk_set_byte ↻ sha256_compress ↻ sys_munmap pub_hexd pub_build_rec fa_cat fa_appendz fa_append sys_mmap ↻ sys_openat_append sys_flock fa_write_all sys_write ↻ sys_close ↻ fa_len

structs

none

consts

none

functions

7func pp(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 1: main calls 1: sys_write
8func pn(v: i64) -> i64 { var m: i64=v; if m<0 { sys_write(1,"-" as *u8,1); m=0-m } let bb: *u8=sys_mmap(28); var k: i64=0; if m==0 { bb[0]=48 as u8; sys_write(1,bb,1); return 0 } let t: *u8=sys_mmap(28); while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } var i: i64=0; while i<k { bb[i]=t[k-1-i]; i=i+1 } sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_writesys_mmap
9func main(argc: i64, argv: *i64) -> i64