code wiki / (root) / nx_emu_arm64_main.nx

nx_emu_arm64_main.nx

buildroot/runtime/nx_emu_arm64_main.nx

842 B23 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic emu
docsdependenciesstructsconstsfunctions

about

nx_emu_arm64_main.nx -- CLI for NX-EMU aarch64: load + run a static A64 ELF. Usage: nx_emu_arm64 <prog.elf> (exit code = guest's exit status) Mirror of nx_emu_rv64_main: reads the ELF, loads PT_LOAD segments into a flat guest image, and runs it on the sovereign aarch64 interpreter -- NO qemu (qemu-aarch64 is only the differential BENCHMARK/oracle that must agree). This is how Nishi CARRIES aarch64 execution. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_emu_arm64.nx nx_syscalls_x86_64.nx nx_emu_arm64_main.nx

imports: nx_emu_arm64.nxnx_syscalls_x86_64.nx

imported by: nobody (leaf or entry point)

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

main emu_arm64_load_elf a64e_g_ld a64e_g_st emu_arm64_run_mem a64e_g_ld ↻ a64e_wr a64e_rd a64e_subs a64e_ltu a64e_adds a64e_ltu ↻ a64e_shiftreg a64e_srl a64e_udiv a64e_srl ↻ a64e_ltu ↻ a64e_cond a64e_g_st ↻ sys_read

structs

none

consts

none

functions

15func main(argc: i64, argv: *i64) -> i64