Skyeye: unstub cp15 virtual to physical address
This commit is contained in:
parent
b1f55c9cab
commit
248106d972
1 changed files with 1 additions and 2 deletions
|
@ -468,8 +468,7 @@ void ARMul_State::WriteCP15Register(u32 value, u32 crn, u32 opcode_1, u32 crm, u
|
||||||
if (crm == 0 && opcode_2 == 4) {
|
if (crm == 0 && opcode_2 == 4) {
|
||||||
CP15[CP15_WAIT_FOR_INTERRUPT] = value;
|
CP15[CP15_WAIT_FOR_INTERRUPT] = value;
|
||||||
} else if (crm == 4 && opcode_2 == 0) {
|
} else if (crm == 4 && opcode_2 == 0) {
|
||||||
// NOTE: Not entirely accurate. This should do permission checks.
|
LOG_ERROR(Core_ARM11, "Unimplemented virtual to physical address");
|
||||||
CP15[CP15_PHYS_ADDRESS] = Memory::VirtualToPhysicalAddress(value);
|
|
||||||
} else if (crm == 5) {
|
} else if (crm == 5) {
|
||||||
if (opcode_2 == 0)
|
if (opcode_2 == 0)
|
||||||
CP15[CP15_INVALIDATE_INSTR_CACHE] = value;
|
CP15[CP15_INVALIDATE_INSTR_CACHE] = value;
|
||||||
|
|
Loading…
Reference in a new issue