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 /psp/mips_stub.S | |
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 'psp/mips_stub.S')
-rw-r--r-- | psp/mips_stub.S | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/psp/mips_stub.S b/psp/mips_stub.S index 5e5a479..3d046d8 100644 --- a/psp/mips_stub.S +++ b/psp/mips_stub.S @@ -16,6 +16,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +#include "../gpsp_config.h" + .set mips32r2 .align 4 @@ -645,3 +647,22 @@ fnptrs: .long execute_spsr_restore_body # 6 .long execute_store_cpsr_body # 7 +#if !defined(HAVE_MMAP) + +# Make this section executable! +.text +.section .jit,"awx",%nobits +.align 2 +.global stub_arena +.global rom_translation_cache +.global ram_translation_cache + +stub_arena: + .space STUB_ARENA_SIZE +rom_translation_cache: + .space ROM_TRANSLATION_CACHE_SIZE +ram_translation_cache: + .space RAM_TRANSLATION_CACHE_SIZE + +#endif + |