summaryrefslogtreecommitdiff
path: root/cpu_threaded.c
diff options
context:
space:
mode:
authorAutechre2021-03-17 07:20:55 +0100
committerGitHub2021-03-17 07:20:55 +0100
commit85ba903b19f9ef39c80906680dd210f259b5160c (patch)
treef9adf1475cbaa9621bb22eb02c7452a3b6c62922 /cpu_threaded.c
parentb9ac4536757c4c24afaa86b6e3131ec21e407e80 (diff)
parent34e672ed25f96c3558534ac24523103f3711e58a (diff)
downloadpicogpsp-85ba903b19f9ef39c80906680dd210f259b5160c.tar.gz
picogpsp-85ba903b19f9ef39c80906680dd210f259b5160c.tar.bz2
picogpsp-85ba903b19f9ef39c80906680dd210f259b5160c.zip
Merge pull request #110 from davidgfnet/master
Rewrite the MIPS stub backend to add OpenDingux
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r--cpu_threaded.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu_threaded.c b/cpu_threaded.c
index 80a6b4a..4d93e55 100644
--- a/cpu_threaded.c
+++ b/cpu_threaded.c
@@ -62,6 +62,8 @@ __asm__(".section .jit,\"awx\",%progbits");
__asm__(".section .jit,\"awx\",%nobits");
#endif
+u32 stub_arena[STUB_ARENA_SIZE]
+ __attribute__ ((aligned(4),section(".jit")));
u8 rom_translation_cache[ROM_TRANSLATION_CACHE_SIZE]
__attribute__ ((aligned(4),section(".jit")));
u8 *rom_translation_ptr = rom_translation_cache;
@@ -3773,3 +3775,5 @@ void dump_translation_cache(void)
bios_translation_ptr - bios_translation_cache, fd);
fclose(fd);
}
+
+