code wiki / _hdl_build / nx_ims_typemap_seed.nx

nx_ims_typemap_seed.nx

buildroot/runtime/_hdl_build/nx_ims_typemap_seed.nx

2417 B39 linesdepth 8pulls 9 transitivereach 0 importersview sourcekind tooltopic ims
docsdependenciesstructsconstsfunctions

about

nx_ims_typemap_seed.nx -- seed the Diataxis typemap into the NATIVE seg_store (no TSV). Migration step (operator: "stop using tsv, nishi ecosystem only"): writes the 4 Diataxis layout rows that nx_ims_page reads, into the content-addressed store knowledge/store/ims-typemap- via nx_native_config (tag "tm"), so ip_typemap_load reads the native store instead of ims_typemap.tsv. Authored-by-organ; re-run after editing the rows. No hardware writes (#26). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_native_config.nx nx_ims_typemap_seed.nx

imports: nx_syscalls.nxnx_native_config.nx

imported by: nobody (leaf or entry point)

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

main tm_w sys_write tm_prefix ncfg_begin ss_begin ss_begin_cap sys_mmap tm_row sys_mmap ↻ ncfg_add_row sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap ncfg_key ss_add ss_add2 ss_w32 ss_len ncfg_set_count sys_mmap ↻ ncfg_count_key ncfg_itoa sys_mmap ↻ ss_add ↻ ncfg_commit ss_commit ss_segid_ok sys_mmap ↻ ss_cat ss_catn sys_mmap ↻ sys_write ↻ ss_write_seg ss_segid_ok ↻ sys_mmap ↻

structs

none

consts

none

functions

10func tm_prefix() -> *u8 { return "knowledge/store/ims-typemap-\x00" as *u8 }
called by 1: main
11func tm_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
14func tm_row(w: *i64, idx: i64, dt: *u8, label: *u8, toc: *u8, ib: *u8, steps: *u8) -> i64
called by 1: main calls 2: sys_mmapncfg_add_row
25func main() -> i64