code wiki / _hdl_build / nx_genesis_grow.nx

nx_genesis_grow.nx

buildroot/runtime/_hdl_build/nx_genesis_grow.nx

6819 B84 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic genesis
docsdependenciesstructsconstsfunctions

about

nx_genesis_grow.nx -- Implements hardware-agnostic growth from a divine root, enabling universal execution across sensors to supercomputers.

dependencies 4 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_resource_governor.nx nx_syscalls.nx nx_genesis_grow.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_resource_governor.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 grow sys_fork sys_openat_wr sys_dup3 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 ↻ sys_execve sys_exit ↻ sys_wait4 gn hw_budget rg_hw_budget rg_worker_budget rg_hw_class_reserve rg_worker_budget ↻ rg_hosting_reserve sys_exit ↻

structs

none

consts

18const K_MAGIC_4096: i64 = 4096

functions

22func grow(name: *u8) -> i64
37func hw_budget(ncpu: i64, load_milli: i64) -> i64 { return rg_hw_budget(RG_POLITE, ncpu, load_milli, 1000) }
called by 1: main calls 1: rg_hw_budget
39func main() -> i64