code wiki / _hdl_build / nx_pm_gate.nx
nx_pm_gate.nx
buildroot/runtime/_hdl_build/nx_pm_gate.nx
about
nx_pm_gate.nx -- SOVEREIGN gate for the PM coordinator.
T1-T4 RACI ROUTING TABLE: accountable(fix)=doctor, (optimize)=engineer, (publish)=publisher, (coordinate)=pm
T5 DISPATCH: pm route optimize -> the work lands in the ENGINEER's queue (right role's intake, no competition)
T6 NEG: accountable(bogus-activity) -> not found (no false routing)
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_pm.nxnx_role_queue.nxnx_role_store.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 11 | func pg_uw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func pg_role_is(activity: *u8, expect: *u8) -> i64 { let r: *u8=sys_mmap(64); if pm_accountable(activity, r)==0 {return 0} return rq_streq(r, expect) } |
| 13 | func pg_write(path: *u8, s: *u8, len: i64) -> i64 { let fd: i64=sys_openat_wr(path, 0x1a4); if fd<0 {return 0-1} sys_write(fd,s,len); sys_close(fd); return 0 } |
| 14 | func pg_contains(path: *u8, needle: *u8) -> i64 calls 1: sys_mmap |
| 21 | func pg_store_contains(ch: *u8, needle: *u8) -> i64 |
| 33 | func main(argc: i64, argv: *i64) -> i64 |