nx_wasm_data.nx
buildroot/runtime/nx_wasm_data.nx
about
Static-data layout for the WAT backend. Addresses are module-relative, never host pointers.
dependencies 4 imports · 5 importers
imports: nx_syscalls.nxnx_types.nxnx_ir.nxnx_outbuf.nx
imported by: nx_wasm.nxnx_wasm_call_operands_t143.nxnx_wasm_layout_lib.nxnx_wasm_pair_extension_gate.nxnx_wasm_static_bounds_gate.nx
structs
| none |
consts
| 7 | const WD_PAGE: i64 = 65536 // WebAssembly memory page. |
| 8 | const WD_CELL: i64 = 8 // Nishi scalar global alignment. |
| 9 | const WD_GLOBAL_STRIDE: i64 = 80 // IR global pool ABI. |
| 10 | const WD_MAX_BYTES: i64 = 4294967296 // wasm32 address space. |
functions
| 15 | func wd_fail(msg: *u8) -> i64 |
| 28 | func wd_parse_pages(s: *u8) -> i64 |
| 43 | func wd_prepare_checked(m: *Module,pages: i64,shared: i64,limit_bytes: i64) -> i64 |
| 89 | func wd_prepare(m: *Module,pages: i64,shared: i64) -> i64 |
| 108 | func wd_address(id: i64) -> i64 |
| 113 | func wd_hex(o: *OutBuf,v: i64) -> i64 |
| 121 | func wd_emit(m: *Module,o: *OutBuf) -> i64 |
| 142 | func wd_i32(o: *OutBuf,value: i64) -> i64 |
| 150 | func wd_emit_shared(m: *Module,o: *OutBuf) -> i64 |