exo: reserve a portion of iram for secure monitor debug (including code)
This commit is contained in:
1 parent
43ef260c66
commit
72f83ea43e
5 files changed
+34
-11
No files matched your search
@@ -196,6 +196,11 @@ namespace ams::secmon {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Validate that the page isn't a secure monitor debug page. */
|
||||
if (MemoryRegionPhysicalIramSecureMonitorDebug.Contains(address, 1)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Validate that the page is aligned. */
|
||||
if (!util::IsAligned(address, 4_KB)) {
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user