diff options
author | Autechre | 2021-03-23 20:13:44 +0100 |
---|---|---|
committer | GitHub | 2021-03-23 20:13:44 +0100 |
commit | e5c685583ed8808580ca33c5a59d554bfbb989ad (patch) | |
tree | 11399685ea3766006b09d33f983cfae5b98c4f20 /cpu_threaded.c | |
parent | f31fa6a57be67619ce10279152d7c9dbf6c2307b (diff) | |
parent | ff510e7f7a0c04c7862e598e8bfc75747f3bf7d1 (diff) | |
download | picogpsp-e5c685583ed8808580ca33c5a59d554bfbb989ad.tar.gz picogpsp-e5c685583ed8808580ca33c5a59d554bfbb989ad.tar.bz2 picogpsp-e5c685583ed8808580ca33c5a59d554bfbb989ad.zip |
Merge pull request #118 from davidgfnet/master
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r-- | cpu_threaded.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/cpu_threaded.c b/cpu_threaded.c index 555b9c6..7f12b4f 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -47,26 +47,10 @@ u8* ram_translation_cache_ptr; u8 *rom_translation_ptr = rom_translation_cache; u8 *ram_translation_ptr = ram_translation_cache; #else - -#ifdef __ANDROID__ -// Workaround for 'attempt to map x bytes at offset y' -__asm__(".section .jit,\"awx\",%progbits"); -#else -__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; - -u8 ram_translation_cache[RAM_TRANSLATION_CACHE_SIZE] - __attribute__ ((aligned(4),section(".jit"))); u8 *ram_translation_ptr = ram_translation_cache; - -__asm__(".section .text"); #endif +/* Note, see stub files for more cache definitions */ u32 iwram_code_min = 0xFFFFFFFF; u32 iwram_code_max = 0xFFFFFFFF; |