Lines Matching +full:tcs +full:- +full:offset

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright(c) 2016-20 Intel Corporation.
49 * SGX_ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr
57 * convert all faults to -EFAULT.
67 * enum sgx_return_code - The return code type for ENCLS, ENCLU and ENCLV
87 /* The modulus size for 3072-bit RSA keys. */
91 * enum sgx_miscselect - additional information to an SSA frame
108 * enum sgx_attributes - the attributes field in &struct sgx_secs
111 * %SGX_ATTR_MODE64BIT: Tell that this a 64-bit enclave.
150 * struct sgx_secs - SGX Enclave Control Structure (SECS)
156 * @xfrm: XSave-Feature Request Mask (subset of XCR0)
157 * @mrenclave: SHA256-hash of the enclave contents
158 * @mrsigner: SHA256-hash of the public key used to sign the SIGSTRUCT
159 * @config_id: a user-defined value that is used in key derivation
160 * @isv_prod_id: a user-defined value that is used in key derivation
161 * @isv_svn: a user-defined value that is used in key derivation
162 * @config_svn: a user-defined value that is used in key derivation
190 * enum sgx_tcs_flags - execution flags for TCS
191 * %SGX_TCS_DBGOPTIN: If enabled allows single-stepping and breakpoints
203 * struct sgx_tcs - Thread Control Structure (TCS)
204 * @state: used to mark an entered TCS
206 * @ssa_offset: SSA stack offset relative to the enclave base
209 * @entry_offset: entry point offset relative to the enclave base
212 * @fs_offset: offset relative to the enclave base to become FS
214 * @gs_offset: offset relative to the enclave base to become GS
216 * @fs_limit: size to become a new FS-limit (only 32-bit enclaves)
217 * @gs_limit: size to become a new GS-limit (only 32-bit enclaves)
219 * Thread Control Structure (TCS) is an enclave page visible in its address
221 * an enclave by supplying address of TCS to ENCLU(EENTER). A TCS can be entered
240 * struct sgx_pageinfo - an enclave page descriptor
255 * enum sgx_page_type - bits in the SECINFO flags defining the page type
257 * %SGX_PAGE_TYPE_TCS: a TCS page
277 * enum sgx_secinfo_flags - the flags field in &struct sgx_secinfo
282 * %SGX_SECINFO_TCS: a TCS page
304 * struct sgx_secinfo - describes attributes of an EPC page
318 * struct sgx_pcmd - Paging Crypto Metadata (PCMD)
340 * struct sgx_sigstruct_header - defines author of the enclave
357 * struct sgx_sigstruct_body - defines contents of the enclave
361 * @xfrm: XSave-Feature Request Mask (subset of XCR0)
364 * @mrenclave: SHA256-hash of the enclave contents
365 * @isvprodid: a user-defined value that is used in key derivation
366 * @isvsvn: a user-defined value that is used in key derivation
383 * struct sgx_sigstruct - an enclave signature
409 * Do not put any hardware-defined SGX structure representations below this