mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
exo: implement mariko se/tzram context save
This commit is contained in:
parent
46c460e235
commit
5cb9fa510e
8 changed files with 148 additions and 15 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue