code wiki / _hdl_build / nx_resgov_gate.nx

nx_resgov_gate.nx

buildroot/runtime/_hdl_build/nx_resgov_gate.nx

7584 B93 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_resgov_gate.nx -- PROVE THE GOVERNOR IS PROACTIVE, DEFAULT-COVERED, AND CANNOT KILL AN INNOCENT. Every tooth asserts BOTH polarities: the thing it must do, and the thing it must REFUSE. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_resgov_core.nx nx_resgov_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_resgov_core.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ rg_footprint_kb rg_level rg_footprint_kb ↻ rg_eta_s gv_check gv_puts ↻ rg_velocity_kb_s rg_eta_s ↻ rg_system_pressured rg_headroom_permil rg_cooldown_ok gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num sys_mmap ↻

structs

none

consts

8const GB: i64 = 1048576 // kB in a GiB

functions

10func main(argc: i64, argv: *i64) -> i64