diff options
author | neonloop | 2021-05-05 16:20:45 +0000 |
---|---|---|
committer | neonloop | 2021-05-05 16:20:45 +0000 |
commit | 3aa34f7503bbb03e9bcd191f8af4fd5faac66d2e (patch) | |
tree | 1be71c0b48ec866b604ab67aa7099be5f4c0283d /arm | |
parent | da0db18b9debadc6ff0241f39bbd9d78ab5328d2 (diff) | |
download | picogpsp-3aa34f7503bbb03e9bcd191f8af4fd5faac66d2e.tar.gz picogpsp-3aa34f7503bbb03e9bcd191f8af4fd5faac66d2e.tar.bz2 picogpsp-3aa34f7503bbb03e9bcd191f8af4fd5faac66d2e.zip |
Revert "Remove BIOS reserved translation area"
This reverts commit fb7ca09b019248b9a0aba481ea55386f71053d73.
It seems that commit broke rolling in Minish Cap when using the ARM dynarec.
Diffstat (limited to 'arm')
-rw-r--r-- | arm/arm_stub.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arm/arm_stub.S b/arm/arm_stub.S index 5917e82..723c185 100644 --- a/arm/arm_stub.S +++ b/arm/arm_stub.S @@ -411,6 +411,8 @@ defsymbl(execute_swi_##mode) ;\ orr r0, r0, #0x13 /* set to supervisor mode */;\ str r0, [reg_base, #REG_CPSR] /* update cpsr */;\ ;\ + call_c_function(bios_region_read_allow) ;\ + ;\ mov r0, #MODE_SUPERVISOR ;\ ;\ store_registers_##mode() /* store regs for mode */;\ @@ -865,6 +867,8 @@ defsymbl(rom_translation_cache) .space ROM_TRANSLATION_CACHE_SIZE defsymbl(ram_translation_cache) .space RAM_TRANSLATION_CACHE_SIZE +defsymbl(bios_translation_cache) + .space BIOS_TRANSLATION_CACHE_SIZE #endif |