aboutsummaryrefslogtreecommitdiff
path: root/tests/bench/trees.c
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-15 18:14:02 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-15 18:14:02 +0330
commit4fb4dffa202bb7a09eb2c0c2784f28eb11137f04 (patch)
treec02002028d9e96ae1edcaa530874c23faa50a6f3 /tests/bench/trees.c
parentseed: regenerate after merging demo-fixes (image c079adab) (diff)
fix: bytes test read one byte past the fixed map into the heap
rt.MW is the end of the fixed map (PW) since the growing heap landed; the heap starts right there, so ld16(addr_b(rt.MW)-1) read the heap's first byte: 0 on the default map by luck, 0x40 on the small map (16384). Probe the real byte-op bound instead: core answers syscall(9,10) with the host reservation MW; micro ports, whose bound is their memory size, fall back to syscall(9,0).
Diffstat (limited to 'tests/bench/trees.c')
0 files changed, 0 insertions, 0 deletions