diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-05-21 23:41:07 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-05-21 23:47:49 -0400 |
| commit | 9a088e008f96dd7a5a13137011c037fa2d5084e3 (patch) | |
| tree | b09bf7706bd5a6ef98ab4055a3edf1f569e11880 /Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp | |
| parent | f64bd401b692fae42dbc3894d5213b55f5517fdd (diff) | |
Interpreter: Check processor privilege level when executing supervisor instructions
Executing a supervisor-level instruction in user mode is supposed to
cause a program exception to occur.
The following supervisor instructions are present:
- dcbi
- mfmsr
- mfspr
- mfsr
- mfsrin
- mtmsr
- mtspr
- mtsr
- mtsrin
- rfi
- tlbie
- tlbsync
In 0337ca116abe9b9b9877e6071ad0697188198885 checks within mfspr and
mtspr were added. This change adds the trivial checks to the other
instructions.
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp')
0 files changed, 0 insertions, 0 deletions
