Skip to main content

qcode_jit_load

Function qcode_jit_load 

Source
pub unsafe extern "C" fn qcode_jit_load(
    memory: *mut VmMemory,
    addr: u64,
    size: u32,
    out: *mut u64,
) -> u32
Expand description

Performs a guest RAM read that compiled code could not do inline.

§Safety

memory must point to a live VmMemory that nothing else is borrowing, out to a writable u64, and size must be at most 8. Called only from code this crate’s JIT backend generated.