code wiki / _hdl_build / nx_os_census.nx
nx_os_census.nx
buildroot/runtime/_hdl_build/nx_os_census.nx
about
nx_os_census.nx -- the SOVEREIGN OS CAPABILITY CENSUS: where does the Nishi OS still lack (beyond AI + hardware),
to get it FULLY built? Grades each standard OS capability HAVE / PARTIAL / MISSING, grounded on a REAL organ
(have_file -- liar-killed: a capability counts only if its organ actually exists). The PARTIAL+MISSING rows ARE
the remaining work. Benchmark = "what a complete OS comprises" (os_*.raw). AI (no-float ladder, 44 caps) and
HARDWARE (drivers/RISC-V/no-FPU) are tracked in their OWN censuses; THIS is the kernel-services + userland layer.
expect_exit: 0 Sovereign: nx_syscalls.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_g_puts_lib.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
| 15 | func g_pn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 16 | func ck(name: *u8, c: i64) -> i64 { if c==1 { g_puts(" PASS " as *u8) } else { g_puts(" FAIL " as *u8) } g_puts(name); g_puts("\n" as *u8); return c } |
| 17 | func have(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 { return 0 } sys_close(fd); return 1 } |
| 19 | func os_row(cap: *u8, organ: *u8, grade: i64, note: *u8) -> i64 |
| 25 | func main() -> i64 |