* grub-core/kern/arm/cache.c (probe_caches): Move asm part to ...
* grub-core/kern/arm/cache_armv6.S: ... here. This allows this asm to stay in arm even if surrounding is thumb.
This commit is contained in:
parent
5e77d9cfc1
commit
2bdd07195c
3 changed files with 19 additions and 3 deletions
|
@ -34,4 +34,12 @@ clean_invalidate_dcache:
|
|||
mcr p15, 0, r0, c7, c14, 0 @ Clean/Invalidate D-cache
|
||||
bx lr
|
||||
|
||||
#include "cache.S"
|
||||
#include "cache.S"
|
||||
|
||||
FUNCTION(grub_arm_main_id)
|
||||
mrc p15, 0, r0, c0, c0, 0
|
||||
bx lr
|
||||
|
||||
FUNCTION(grub_arm_cache_type)
|
||||
mrc p15, 0, r0, c0, c0, 1
|
||||
bx lr
|
Loading…
Add table
Add a link
Reference in a new issue