turbo mode
This commit is contained in:
parent
b84359ca44
commit
38f19c7e05
1 changed files with 2 additions and 0 deletions
2
mmu.cpp
2
mmu.cpp
|
@ -348,11 +348,13 @@ std::pair<trap_action_t, int> mmu::get_trap_action(const int run_mode, const boo
|
||||||
|
|
||||||
void mmu::mmudebug(const uint16_t a)
|
void mmu::mmudebug(const uint16_t a)
|
||||||
{
|
{
|
||||||
|
#if !defined(TURBO)
|
||||||
for(int rm=0; rm<4; rm++) {
|
for(int rm=0; rm<4; rm++) {
|
||||||
auto ma = calculate_physical_address(rm, a);
|
auto ma = calculate_physical_address(rm, a);
|
||||||
|
|
||||||
TRACE("RM %d, a: %06o, apf: %d, PI: %08o (PSW: %d), PD: %08o (PSW: %d)", rm, ma.virtual_address, ma.apf, ma.physical_instruction, ma.physical_instruction_is_psw, ma.physical_data, ma.physical_data_is_psw);
|
TRACE("RM %d, a: %06o, apf: %d, PI: %08o (PSW: %d), PD: %08o (PSW: %d)", rm, ma.virtual_address, ma.apf, ma.physical_instruction, ma.physical_instruction_is_psw, ma.physical_data, ma.physical_data_is_psw);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void mmu::verify_page_access(const uint16_t virt_addr, const int run_mode, const bool d, const int apf, const bool is_write)
|
void mmu::verify_page_access(const uint16_t virt_addr, const int run_mode, const bool d, const int apf, const bool is_write)
|
||||||
|
|
Loading…
Add table
Reference in a new issue