Expand description
In-process Arch impl: simulates the CPU + MMU substrate with
Rust data structures. Runs directly in the host process; no
sandbox, no cross-compilation.
run_instance is the in-process counterpart to nub-arch-x86’s
JIT-driven enter_frame / build_frame_runtime: takes a published
javm_cap::cap::instance::InstanceCap + its referenced
javm_cap::cap::image::ImageCap (both Global-allocated
locally), wires the bytecode + memory layout to
[javm_exec::interp::Interpreter::run], and produces an
[InvocationResult].
Structs§
- Local
Arch - In-process Arch backend.
Enums§
- Local
Arch Error - Stub error type for the skeleton — the local backend cannot fail today. Replace with a real error enum when invocation lands.
Functions§
- run_
instance - Run an Instance through the PVM2 (RISC-V) interpreter, returning the
same
InvocationResultshapenub-arch-x86’s JIT path produces. The exit-reason mapping matches the JIT exit codes (HostCall=4, Trap=7, etc.) so the two backends agree on a well-formed program.