Expand description

Specifies the entry points for libraries.

The specification for library support is experimental and is subject to change.

When a user application wishes to call into the enclave library, userspace may use any available TCS. Libraries may keep state between invocations, but the library must not assume that subsequent calls will go to the same TCS.

The use of asynchronous usercalls with libraries is not recommended, as userspace will not be able to wake up the appropriate thread in a multi-threaded library scenario.

Automatically launching threads using the launch_thread usercall is not supported. Libraries that want to leverage multi-threading must rely on application support to call into the enclave from different threads.

Functions

The entry point of every TCS.