- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I was wondering where the EPCM and data structures (e.g. PCMD) are actually stored?
This Linux Kernel doc suggests that the EPCM is a "hardware data structure", does that mean it is stored in a separate component?
Are data structures stored in the EPC itself or a separate region in PRM?
Many thanks.
- Tags:
- sgx
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BH21,
Thank you for your interest in Intel® SGX.
Enclave Page Cache Map (EPCM) is a secure structure used by the processor to track the contents of the Enclave Page Cache (EPC). The contents of enclaves and the associated data structures are stored in the EPC, which is a subset of the Processor Reserved Memory (PRM). Here is the diagram for more information.
Meanwhile, Paging Crypto MetaData (PCMD) is used to keep track of crypto meta-data associated with a paged-out page. Combined with PAGEINFO, it provides enough information for the processor to verify, decrypt, and reload a paged-out EPC page. The PCMD is available in the system memory. Refer to the diagram for more information.
Here are the references could be useful for your use cases.
- Overview of Intel SGX instructions and datastructures
- SGX101 - enclave
- Intel® Software Guard Extensions (Intel® SGX)
Hope that the information that I provided is useful for you. Let me know if you have any questions. Thank you.
Regards,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BH21,
I hope the information I provided was helpful to you. Do you need further help with this issue?
Please inform us if you have any question regards to this issue.
Thank you.
Regards,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ken,
Thank you for you reply, this makes a lot of sense!
Regards,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BH21,
Great to know the information is useful for you. Please inform us if you have any question regards to this issue.
Thank you.
Regards,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BH21,
We have not heard from you in several days so we will no longer monitor this thread. We hope you were able to resolve your issue. Please start a new thread if you need further help.
Regards,
Ken

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page