[][src]Module std::os::fortanix_sgx::usercalls::raw

🔬 This is a nightly-only experimental API. (sgx_platform #56975)

Lowest-level interfaces to usercalls and usercall ABI type definitions.

Structs

ByteBufferExperimental

An arbitrary-sized buffer of bytes in userspace, allocated by userspace.

FifoDescriptorExperimental

A circular buffer used as a FIFO queue with atomic reads and writes.

ReturnExperimental

The return value of an identified usercall.

UsercallExperimental

An identified usercall.

Enums

ErrorExperimental

Error code definitions and space allocation.

UsercallNrsExperimental

Usercall numbers as per the ABI.

Constants

EV_RETURNQ_NOT_EMPTYExperimental

An event that will be triggered by userspace when the return queue is not or no longer empty.

EV_UNPARKExperimental

An event that enclaves can use for synchronization.

EV_USERCALLQ_NOT_FULLExperimental

An event that will be triggered by userspace when the usercall queue is not or no longer full.

FD_STDERRExperimental

Standard error file descriptor. This is not a secure output channel.

FD_STDINExperimental

Standard input file descriptor. Input read this way is not secure.

FD_STDOUTExperimental

Standard output file descriptor. This is not a secure output channel.

RESULT_SUCCESSExperimental

A value indicating that the operation was succesful.

USERCALL_USER_DEFINEDExperimental

Usercall numbers with this bit set will never be defined by this specification.

WAIT_INDEFINITEExperimental
WAIT_NOExperimental

Functions

accept_streamExperimental

This is the raw function definition, see the ABI documentation for more information.

allocExperimental

This is the raw function definition, see the ABI documentation for more information.

async_queuesExperimental

This is the raw function definition, see the ABI documentation for more information.

bind_streamExperimental

This is the raw function definition, see the ABI documentation for more information.

closeExperimental

This is the raw function definition, see the ABI documentation for more information.

connect_streamExperimental

This is the raw function definition, see the ABI documentation for more information.

do_usercallExperimental

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

exitExperimental

This is the raw function definition, see the ABI documentation for more information.

flushExperimental

This is the raw function definition, see the ABI documentation for more information.

freeExperimental

This is the raw function definition, see the ABI documentation for more information.

insecure_timeExperimental

This is the raw function definition, see the ABI documentation for more information.

launch_threadExperimental

This is the raw function definition, see the ABI documentation for more information.

readExperimental

This is the raw function definition, see the ABI documentation for more information.

read_allocExperimental

This is the raw function definition, see the ABI documentation for more information.

sendExperimental

This is the raw function definition, see the ABI documentation for more information.

waitExperimental

This is the raw function definition, see the ABI documentation for more information.

writeExperimental

This is the raw function definition, see the ABI documentation for more information.

Type Definitions

FdExperimental

A file descriptor.

ResultExperimental

The first return value of usercalls that might fail.

TcsExperimental

The absolute address of a TCS in the current enclave.