islet-project / islet

An on-device confidential computing platform
Apache License 2.0
93 stars 17 forks source link

Changes to RTT process code (rtt.rs) #353

Closed bokdeuk-jeong closed 2 months ago

bokdeuk-jeong commented 3 months ago
  1. Move rtt.rs to realm/mm
  2. Unify the page table management by removing RttPage and using PageTable to initialize delegated pages for RTT purpose.
  3. Make dependencies uni-directional. e.g.) Move RTT_ constants in rmi/rtt.rs to ream/mm/rtt.rs and let rmi/rtt.rs dependent on realm/mm/rtt.rs, not the other way round.
  4. Eliminate realm_linux feature in rmm build.
  5. Use S2TTE as Inner of Entry and remove RawPTE.

TODOs after this PR is merged: add tbl operations along with page table upates.