[−][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_stream⚠Experimental

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

alloc⚠Experimental

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

async_queues⚠Experimental

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

bind_stream⚠Experimental

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

close⚠Experimental

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

connect_stream⚠Experimental

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

do_usercall⚠Experimental

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

exit⚠Experimental

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

flush⚠Experimental

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

free⚠Experimental

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

insecure_time⚠Experimental

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

launch_thread⚠Experimental

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

read⚠Experimental

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

read_alloc⚠Experimental

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

send⚠Experimental

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

wait⚠Experimental

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

write⚠Experimental

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.