mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-21 09:16:48 +00:00
Re-insert code for tlbia
BeOS uses this as part of its boot handler.
This commit is contained in:
@@ -2018,6 +2018,12 @@ void dppc_interpreter::ppc_tlbia(uint32_t opcode) {
|
||||
num_supervisor_instrs++;
|
||||
#endif
|
||||
/* placeholder */
|
||||
if (ppc_state.msr & MSR::PR) {
|
||||
ppc_exception_handler(Except_Type::EXC_PROGRAM, Exc_Cause::NOT_ALLOWED);
|
||||
return;
|
||||
}
|
||||
|
||||
LOG_F(ERROR, "tlbia needs to be implemented!");
|
||||
}
|
||||
|
||||
void dppc_interpreter::ppc_tlbld(uint32_t opcode) {
|
||||
|
||||
Reference in New Issue
Block a user