lpc31 ECHI. Early debug changes
This commit is contained in:
parent
ef226fe49f
commit
9ec6e4685a
@ -149,6 +149,9 @@ cp15_invalidate_icache:
|
|||||||
|
|
||||||
/* Invalidate D-Cache in the region described by r0=start and r1=end. */
|
/* Invalidate D-Cache in the region described by r0=start and r1=end. */
|
||||||
|
|
||||||
|
.globl cp15_invalidate_dcache
|
||||||
|
.type cp15_invalidate_dcache, function
|
||||||
|
|
||||||
cp15_invalidate_dcache:
|
cp15_invalidate_dcache:
|
||||||
bic r0, r0, #CACHE_DLINESIZE - 1
|
bic r0, r0, #CACHE_DLINESIZE - 1
|
||||||
mcr p15, 0, r0, c7, c6, 1 /* Invalidate D entry */
|
mcr p15, 0, r0, c7, c6, 1 /* Invalidate D entry */
|
||||||
@ -161,8 +164,8 @@ cp15_invalidate_dcache:
|
|||||||
#if 0 /* Not used */
|
#if 0 /* Not used */
|
||||||
/* Invalidate Dcache */
|
/* Invalidate Dcache */
|
||||||
|
|
||||||
.globl cp15_invalidate_dcache
|
.globl cp15_invalidate_dcache_all
|
||||||
.type cp15_invalidate_dcache, function
|
.type cp15_invalidate_dcache_all, function
|
||||||
|
|
||||||
cp15_invalidate_dcache_all:
|
cp15_invalidate_dcache_all:
|
||||||
mov r0, #0
|
mov r0, #0
|
||||||
@ -176,7 +179,7 @@ cp15_invalidate_dcache_all:
|
|||||||
nop
|
nop
|
||||||
nop
|
nop
|
||||||
bx lr
|
bx lr
|
||||||
.size cp15_invalidate_dcache, . - cp15_invalidate_dcache
|
.size cp15_invalidate_dcache_all, . - cp15_invalidate_dcache_all
|
||||||
|
|
||||||
/* CP15 Prefetch Icache line c7
|
/* CP15 Prefetch Icache line c7
|
||||||
* Performs an Icache lookup of the specified modified virtual address.
|
* Performs an Icache lookup of the specified modified virtual address.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user