code wiki / _hdl_build / nx_board.nx

nx_board.nx

buildroot/runtime/_hdl_build/nx_board.nx

2564 B60 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_board.nx -- shared BASE CLASS for the _board organ family (10 organs, each rolling its own HTML page scaffold + JSON envelope + atomic publish; worst nx_maturity_board = 70 local emit refs; NONE shared a base until now). COMPOSES nx_estr (base-on-base: a board inherits the emit primitives es_cat/es_catn AND the board scaffold here) -- the OO consolidation the atlas family census surfaced. Import this + emit a board in a handful of calls instead of reimplementing the skeleton. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_estr.nx nx_board.nx nx_board_gate.nx

imports: nx_syscalls.nxnx_estr.nx

imported by: nx_board_gate.nx

structs

none

consts

none

functions

10func bd_page_open(buf: *u8, o: i64, title: *u8) -> i64
called by 1: main calls 1: es_cat
16func bd_page_close(buf: *u8, o: i64) -> i64 { return es_cat(buf, o, "</body></html>" as *u8) }
called by 1: main calls 1: es_cat
18func bd_h(buf: *u8, o: i64, level: i64, text: *u8) -> i64
called by 1: main calls 2: es_cates_catn
31func bd_json_open(buf: *u8, o: i64, domain: *u8, title: *u8) -> i64
called by 1: main calls 1: es_cat
40func bd_json_kvn(buf: *u8, o: i64, key: *u8, v: i64) -> i64
called by 1: main calls 2: es_cates_catn
49func bd_write_atomic(path: *u8, buf: *u8, n: i64) -> i64