diff options
author | Twinaphex | 2016-08-15 02:55:59 +0200 |
---|---|---|
committer | GitHub | 2016-08-15 02:55:59 +0200 |
commit | 08e3423a8c61a93f81b8460a67431fe0f1c197a6 (patch) | |
tree | 6bd1d597fc95f350efcbc40522d7ffff41f5f21a /arm | |
parent | a1254324c72040dba3b26912b45da21fcf3ec107 (diff) | |
parent | d4e60565d521ee6c9dd8dcef9ef3b76e8f4a739b (diff) | |
download | picogpsp-08e3423a8c61a93f81b8460a67431fe0f1c197a6.tar.gz picogpsp-08e3423a8c61a93f81b8460a67431fe0f1c197a6.tar.bz2 picogpsp-08e3423a8c61a93f81b8460a67431fe0f1c197a6.zip |
Merge pull request #28 from frangarcj/master
VITA WIP
Diffstat (limited to 'arm')
-rw-r--r-- | arm/arm_emit.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/arm/arm_emit.h b/arm/arm_emit.h index bfd1c49..185caef 100644 --- a/arm/arm_emit.h +++ b/arm/arm_emit.h @@ -49,10 +49,8 @@ void execute_swi_thumb(u32 pc); void execute_store_u32_safe(u32 address, u32 source); #define write32(value) \ - VITA_RW_INIT(); \ *((u32 *)translation_ptr) = value; \ - translation_ptr += 4; \ - VITA_RW_END() \ + translation_ptr += 4 \ #define arm_relative_offset(source, offset) \ (((((u32)offset - (u32)source) - 8) >> 2) & 0xFFFFFF) \ @@ -409,17 +407,13 @@ u32 arm_disect_imm_32bit(u32 imm, u32 *stores, u32 *rotations) cycle_count = 0 \ #define generate_branch_patch_conditional(dest, offset) \ - VITA_RW_INIT(); \ *((u32 *)(dest)) = (*((u32 *)dest) & 0xFF000000) | \ - arm_relative_offset(dest, offset); \ - VITA_RW_END(); \ + arm_relative_offset(dest, offset) \ #define generate_branch_patch_unconditional(dest, offset) \ - VITA_RW_INIT(); \ *((u32 *)(dest)) = (*((u32 *)dest) & 0xFF000000) | \ - arm_relative_offset(dest, offset); \ - VITA_RW_END(); \ + arm_relative_offset(dest, offset) \ // A different function is called for idle updates because of the relative // location of the embedded PC. The idle version could be optimized to put |