Expand description
Kernel-known host call opcode space (in the ecalli immediate),
16..=63. Stage 3.8 lands HOST_YIELD; subsequent sub-stages fill
the rest.
Constants§
- DERIVE_
SPAWN host_derive_spawn(image_slot=φ[7], dst_slot=φ[8]).- HOST_
CALL host_call(instance_slot=φ[7], endpoint_idx=φ[8])— push a childInstanceEntryfrom theCap::Instanceatinstance_slot, move the caller’sslot[0]into the child’sslot[0]. The interpreter exits withExitReason::HostCall(HOST_CALL); thedrive_and_translateloop re-entersInterpreter::runon the new top frame. On child HALT the loop pops the child, reflects itsslot[0]back into the caller’sslot[0], and resumes the caller.- HOST_
MINT_ DATA_ CAP host_mint_data_cap— Stage 4 (needs cache write).- HOST_
OPEN host_open— Stage 4 (needs cache read + slot write).- HOST_
READ_ DATA_ CAP host_read_data_cap— Stage 4 (needs cache read into mem).- HOST_
SAME_ TYPE host_same_type(slot_a=φ[7], slot_b=φ[8]).- HOST_
SAVE host_save— Stage 4 (needs cache write + slot write).- HOST_
TYPE_ OF host_type_of(src_slot=φ[7], dst_slot=φ[8])— Stage 4 (needs cache write).- HOST_
YIELD - MAKE_
IMAGE host_make_image(...)— Stage 3.9 stub.- MAX
- Inclusive upper bound of the kernel-known host call range.
- SET_
IMAGE set_image(image_slot=φ[7])— extend the active Instance’simage_hash_chainwith the Image atimage_slot.