Shouldn't matter for armv >= 5 but let's be safe.
+2013-12-17 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Add explicit thumb interwork bx in asm files.
+
+ Shouldn't matter for armv >= 5 but let's be safe.
+
2013-12-17 Vladimir Serbinenko <phcoder@gmail.com>
Implement Truecrypt ISO loader.
bl clean_dcache_range
pop {r0, r1}
bl invalidate_icache_range
- pop {r2, pc}
+ pop {r2, lr}
+ bx lr
#ifdef ARMV6
FUNCTION(grub_arm_disable_caches_mmu_armv6)
DSB
ISB
- pop {r4, pc}
+ pop {r4, lr}
+ bx lr
@ return
6: DSB
ISB
- pop {r4-r12, pc}
+ pop {r4-r12, lr}
+ bx lr
#include "cache.S"
\ No newline at end of file
ldr r8, gd_backup
ldr r9, gd_backup + 4
- mov lr, pc
- ldr pc, grub_uboot_syscall_ptr
+ bl do_syscall
ldr r8, transition_space
ldr lr, transition_space + 4
ldr r9, transition_space + 8
bx lr
+do_syscall:
+
+ ldr ip, grub_uboot_syscall_ptr
+ bx ip
FUNCTION(grub_uboot_return)
adr sp, entry_state_end