Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Intel SGX TCS fields

gu_j_1
Beginner
1,420 Views

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

0 Kudos
1 Solution
Francisco_C_Intel
1,420 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

0 Kudos
1 Reply
Francisco_C_Intel
1,421 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 )
0 Kudos
Reply