exo: implement mariko se/tzram context save

This commit is contained in:
Michael Scire 2020-06-28 20:32:45 -07:00
parent 46c460e235
commit 5cb9fa510e
8 changed files with 148 additions and 15 deletions

View file

@ -325,7 +325,11 @@ namespace ams::secmon::smc {
}
void SaveSecureContextForMariko() {
/* TODO: Implement this when adding ams-on-mariko support. */
/* Save security engine context to TZRAM SE carveout (inaccessible to cpu). */
se::SaveContextAutomatic();
/* Save TZRAM to shadow-TZRAM in always-on power domain. */
se::SaveTzramAutomatic();
}
void SaveSecureContext() {