[−][src]Module std::os::fortanix_sgx::usercalls::raw
Lowest-level interfaces to usercalls and usercall ABI type definitions.
Structs
| ByteBuffer | Experimental An arbitrary-sized buffer of bytes in userspace, allocated by userspace. |
| FifoDescriptor | Experimental A circular buffer used as a FIFO queue with atomic reads and writes. |
| Return | Experimental The return value of an identified usercall. |
| Usercall | Experimental An identified usercall. |
Enums
| Error | Experimental Error code definitions and space allocation. |
| UsercallNrs | Experimental Usercall numbers as per the ABI. |
Constants
| EV_RETURNQ_NOT_EMPTY | Experimental An event that will be triggered by userspace when the return queue is not or no longer empty. |
| EV_UNPARK | Experimental An event that enclaves can use for synchronization. |
| EV_USERCALLQ_NOT_FULL | Experimental An event that will be triggered by userspace when the usercall queue is not or no longer full. |
| FD_STDERR | Experimental Standard error file descriptor. This is not a secure output channel. |
| FD_STDIN | Experimental Standard input file descriptor. Input read this way is not secure. |
| FD_STDOUT | Experimental Standard output file descriptor. This is not a secure output channel. |
| RESULT_SUCCESS | Experimental A value indicating that the operation was succesful. |
| USERCALL_USER_DEFINED | Experimental Usercall numbers with this bit set will never be defined by this specification. |
| WAIT_INDEFINITE | Experimental |
| WAIT_NO | Experimental |
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
| Fd | Experimental A file descriptor. |
| Result | Experimental The first return value of usercalls that might fail. |
| Tcs | Experimental The absolute address of a TCS in the current enclave. |