mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
thermosphere: handle stage2 data aborts, trap gicd accesses
This commit is contained in:
parent
1775d59977
commit
f9ec21e99e
6 changed files with 116 additions and 3 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "smc.h"
|
||||
#include "core_ctx.h"
|
||||
#include "single_step.h"
|
||||
#include "data_abort.h"
|
||||
|
||||
#include "debug_log.h"
|
||||
|
||||
|
@ -110,7 +111,10 @@ void handleLowerElSyncException(ExceptionStackFrame *frame, ExceptionSyndromeReg
|
|||
case Exception_SystemRegisterTrap:
|
||||
handleMsrMrsTrap(frame, esr);
|
||||
break;
|
||||
|
||||
case Exception_DataAbortLowerEl:
|
||||
// Basically, stage2 translation faults
|
||||
handleLowerElDataAbortException(frame, esr);
|
||||
break;
|
||||
case Exception_SoftwareStepLowerEl:
|
||||
handleSingleStep(frame, esr);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue