clean-up
This commit is contained in:
parent
34a8fb857f
commit
ec64f77a6d
1 changed files with 1 additions and 3 deletions
4
mmu.cpp
4
mmu.cpp
|
@ -376,9 +376,7 @@ uint32_t mmu::calculate_physical_address(cpu *const c, const int run_mode, const
|
||||||
|
|
||||||
if (trap_on_failure) {
|
if (trap_on_failure) {
|
||||||
{
|
{
|
||||||
auto rc = get_trap_action(run_mode, d, apf, is_write);
|
const auto [ trap_action, access_control ] = get_trap_action(run_mode, d, apf, is_write);
|
||||||
auto trap_action = rc.first;
|
|
||||||
int access_control = rc.second;
|
|
||||||
|
|
||||||
if (trap_action != T_PROCEED) [[unlikely]] {
|
if (trap_action != T_PROCEED) [[unlikely]] {
|
||||||
if (is_write)
|
if (is_write)
|
||||||
|
|
Loading…
Add table
Reference in a new issue