Expand description

Enarx call-specific functionality.

Modules

Enarxcall-specific types.

Structs

Request an additional memory region.

Cpuid Enarx call, which writes the result of the cpuid instruction for a given leaf (EAX) and sub_leaf (ECX) in result field.

Get the size of the SGX Quote

Get number of memory slots available for ballooning from the host.

Notify the host to prepare memory for the guest to handle Mmap.

Notify the host to prepare memory for the guest to handle Mprotect.

Notify the host to prepare memory for the guest to handle Munmap.

Within an address range inside the enclave, ask host to set page type to ‘trimmed’. Address and length must be page-aligned. Shim must validate and acknowledge the changes with ENCLU[EACCEPT], in order for them to take effect.

Traits

A generic Enarx call, which can be allocated within the block.

Trait implemented by allocatable Enarx calls, which are passed through directly to the host and do not require custom handling logic.