Community
cancel
Showing results for 
Search instead for 
Did you mean: 
gu_j_1
Beginner
133 Views

Intel SGX TCS fields

Jump to solution

What are the use of fields called OFSBASGX, OGSBASGX, FSLIMIT and GSLIMIT in TCS?

0 Kudos

Accepted Solutions
133 Views
The current SGX Programming Reference (v. 329298-002, linked from https://software.intel.com/en-us/isa-extensions/intel-sgx ) describes them as follows in Table 2-5 (part of Section 2.8: Thread Control Structure): OFSBASGX: When added to the base address of the enclave, produces the base address FS segment inside the enclave. Must be page aligned. OGSBASGX: When added to the base address of the enclave, produces the base address GS segment inside the enclave. Must be page aligned. FSLIMIT: Size to become the new FS limit in 32-bit mode GSLIMIT: Size to become the new GS limit in 32-bit mode More information on "Segment Registers" can be found in Volume 1 of Intel® 64 and IA-32 Architectures Software Developer’s Manual ( http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html )

View solution in original post

1 Reply
134 Views
The current SGX Programming Reference (v. 329298-002, linked from https://software.intel.com/en-us/isa-extensions/intel-sgx ) describes them as follows in Table 2-5 (part of Section 2.8: Thread Control Structure): OFSBASGX: When added to the base address of the enclave, produces the base address FS segment inside the enclave. Must be page aligned. OGSBASGX: When added to the base address of the enclave, produces the base address GS segment inside the enclave. Must be page aligned. FSLIMIT: Size to become the new FS limit in 32-bit mode GSLIMIT: Size to become the new GS limit in 32-bit mode More information on "Segment Registers" can be found in Volume 1 of Intel® 64 and IA-32 Architectures Software Developer’s Manual ( http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html )

View solution in original post