exo2: implement SmcIramCopy/reboot to payload/rcm
This commit is contained in:
@@ -171,6 +171,10 @@ namespace ams::secmon {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Ensure that the page is no longer in cache. */
|
||||
hw::FlushDataCache(MemoryRegionVirtualSmcUserPage.GetPointer<void>(), MemoryRegionVirtualSmcUserPage.GetSize());
|
||||
hw::DataSynchronizationBarrierInnerShareable();
|
||||
|
||||
u64 * const l2_l3 = MemoryRegionVirtualTzramL2L3PageTable.GetPointer<u64>();
|
||||
|
||||
UnmapSmcUserPageImpl(l2_l3);
|
||||
@@ -218,6 +222,10 @@ namespace ams::secmon {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Ensure that the page is no longer in cache. */
|
||||
hw::FlushDataCache(MemoryRegionVirtualAtmosphereIramPage.GetPointer<void>(), MemoryRegionVirtualAtmosphereIramPage.GetSize());
|
||||
hw::DataSynchronizationBarrierInnerShareable();
|
||||
|
||||
/* Unmap the page. */
|
||||
u64 * const l2_l3 = MemoryRegionVirtualTzramL2L3PageTable.GetPointer<u64>();
|
||||
|
||||
@@ -269,6 +277,10 @@ namespace ams::secmon {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Ensure that the page is no longer in cache. */
|
||||
hw::FlushDataCache(MemoryRegionVirtualAtmosphereUserPage.GetPointer<void>(), MemoryRegionVirtualAtmosphereUserPage.GetSize());
|
||||
hw::DataSynchronizationBarrierInnerShareable();
|
||||
|
||||
/* Unmap the page. */
|
||||
u64 * const l2_l3 = MemoryRegionVirtualTzramL2L3PageTable.GetPointer<u64>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user