MMU errors trigger trap 250
Some checks are pending
CodeQL / Analyze (push) Waiting to run

This commit is contained in:
Folkert van Heusden 2025-04-15 19:46:41 +02:00
parent 0ab515678b
commit df2d5f5ef4
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -386,7 +386,7 @@ void mmu::verify_page_access(const uint16_t virt_addr, const int run_mode, const
else { // T_ABORT_4
TRACE("Page access %d (for virtual address %06o): trap 004", access_control, virt_addr);
c->trap(004); // abort
c->trap(0250); // abort
throw 5;
}
@ -415,7 +415,7 @@ void mmu::verify_access_valid(const uint32_t m_offset, const int run_mode, const
if (is_write)
set_page_trapped(run_mode, d, apf);
c->trap(04);
c->trap(0250);
throw 6;
}