* 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:
Vladimir Serbinenko 2013-11-13 09:58:52 +01:00
parent 5e77d9cfc1
commit 2bdd07195c
3 changed files with 19 additions and 3 deletions

View file

@ -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