Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Kumar__Dixit
Novice
202 Views

SGX Memory Management

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
202 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