javm_guest_x86/test_abi.rs
1//! Javm-private FN_ID constants for the test guest binary.
2//!
3//! Band policy: the nub substrate owns fn_id space `[0, 0x100)`
4//! (production ids in `nub-arch-x86-abi`, generic probes in
5//! `nub_arch_x86::test_abi`); each personality owns `[0x100, ...)`.
6//! These ids are exposed only by the `javm-guest-x86-tests` binary;
7//! host-side test drivers import them via this lib.
8
9/// Javm scheduler probe: runs two top-level invokes through one in-guest
10/// `KernelScheduler` (`call_loop::run_two_for_test`). Payload is two raw
11/// `InvokePacket`s concatenated; output is rkyv-encoded
12/// `[InvocationResult; 2]`.
13pub const FN_ID_TEST_INVOKE_TWO_SERIAL: u32 = 0x100;