[][src]Function std::os::fortanix_sgx::usercalls::raw::do_usercall

pub unsafe fn do_usercall(
    nr: NonZeroU64,
    p1: u64,
    p2: u64,
    p3: u64,
    p4: u64,
    abort: bool
) -> (u64, u64)
🔬 This is a nightly-only experimental API. (sgx_platform #56975)

Performs the raw usercall operation as defined in the ABI calling convention.

Safety

The caller must ensure to pass parameters appropriate for the usercall nr and to observe all requirements specified in the ABI.

Panics

Panics if nr is 0.