- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the difference between PRM (Processor Reserved Memory) and EPC (Enclave Page Cache) ?
I know that EPC is a subset of PRM and PRM is not visible to OS or VM but If entire PRM is not covered by EPC why that space is empty? and if it is fully covered by EPC why we put another name on it?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are other metadata about the EPC pages, such as the EPCM, stored in the PRM. So that space is not empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer,
How does CPU protect the PRM and EPC? Is there any difference in the way they are protected? how does CPU make sure that PRM or EPC is invisible to OS and other enclaves?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are specific SGX CPU Instructions for managing the EPC Pages. You can refer to Page 41 Section 3.5.2 OS Management of EPC Pages in below document.
https://software.intel.com/sites/default/files/managed/48/88/329298-002.pdf
Regards
Shivananda

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