summaryrefslogtreecommitdiff
path: root/arm
diff options
context:
space:
mode:
authorneonloop2021-05-05 16:20:45 +0000
committerneonloop2021-05-05 16:20:45 +0000
commit3aa34f7503bbb03e9bcd191f8af4fd5faac66d2e (patch)
tree1be71c0b48ec866b604ab67aa7099be5f4c0283d /arm
parentda0db18b9debadc6ff0241f39bbd9d78ab5328d2 (diff)
downloadpicogpsp-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.S4
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