Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

SGX Memory Management

Kumar__Dixit
Novice
296 Views

In SGX, after setting up the elrange in Enclave Creation Phase, do the SGX copy all pages from non-epc region to epc-region (belongs to the elrange)?  Or do they copy the elrange pages only dynamically, as per demand paging?

0 Kudos
1 Reply
JesusG_Intel
Moderator
296 Views

Hello Dixit,

The pages are copied dynamically as needed. Note that paging is handled by system software, not by SGX. You can find more info in these slides, which I highly recommend reading, and this whitepaper. The Intel SGX Life Cycle blog and PDFs at the bottom are also quite useful if you want to get a better understanding.

Regards,

Jesus

Intel Customer Support

Reply