pub unsafe fn encode_upcall_trd64bit_ptr(
upcall: &FunctionCall,
a0: *mut u64,
a1: *mut u64,
a2: *mut u64,
a3: *mut u64,
)Expand description
Encode the upcall arguments into 4 registers compatible with TRD-RISCV64.
Use pointer writes.
ยงSafety
All pointers a0, a1, a2, a3 must point to valid, aligned, and
writable memory locations.