Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
102 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
Highlighted
Moderator
102 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

Jesus Garcia, Intel Customer Support
0 Kudos