* grub-core/kern/arm/cache.S: Replace = with explicit litteral load.
This commit is contained in:
parent
ea57de18f8
commit
8149861554
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-11-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/kern/arm/cache.S: Replace = with explicit litteral load.
|
||||||
|
|
||||||
2013-11-13 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/symbol.h (END) [__arm__]: New macros. Replace all .end
|
* include/grub/symbol.h (END) [__arm__]: New macros. Replace all .end
|
||||||
|
|
|
@ -32,11 +32,16 @@
|
||||||
* Simple cache maintenance functions
|
* Simple cache maintenance functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
dlinesz_addr:
|
||||||
|
.long EXT_C(grub_arch_cache_dlinesz)
|
||||||
|
ilinesz_addr:
|
||||||
|
.long EXT_C(grub_arch_cache_ilinesz)
|
||||||
|
|
||||||
@ r0 - *beg (inclusive)
|
@ r0 - *beg (inclusive)
|
||||||
@ r1 - *end (exclusive)
|
@ r1 - *end (exclusive)
|
||||||
clean_dcache_range:
|
clean_dcache_range:
|
||||||
@ Clean data cache for range to point-of-unification
|
@ Clean data cache for range to point-of-unification
|
||||||
ldr r2, =EXT_C(grub_arch_cache_dlinesz)
|
ldr r2, dlinesz_addr
|
||||||
ldr r2, [r2]
|
ldr r2, [r2]
|
||||||
sub r3, r2, #1 @ align "beg" to start of line
|
sub r3, r2, #1 @ align "beg" to start of line
|
||||||
mvn r3, r3
|
mvn r3, r3
|
||||||
|
@ -57,7 +62,7 @@ clean_dcache_range:
|
||||||
@ r1 - *end (exclusive)
|
@ r1 - *end (exclusive)
|
||||||
invalidate_icache_range:
|
invalidate_icache_range:
|
||||||
@ Invalidate instruction cache for range to point-of-unification
|
@ Invalidate instruction cache for range to point-of-unification
|
||||||
ldr r2, =EXT_C(grub_arch_cache_ilinesz)
|
ldr r2, ilinesz_addr
|
||||||
ldr r2, [r2]
|
ldr r2, [r2]
|
||||||
sub r3, r2, #1 @ align "beg" to start of line
|
sub r3, r2, #1 @ align "beg" to start of line
|
||||||
mvn r3, r3
|
mvn r3, r3
|
||||||
|
|
Loading…
Reference in a new issue