URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 517 |
Rev 551 |
Line 215... |
Line 215... |
*/
|
*/
|
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
.global or1k_icache_disable
|
.global or1k_icache_disable
|
.type or1k_icache_disable,@function
|
.type or1k_icache_disable,@function
|
|
|
or1k_icache_disble:
|
or1k_icache_disable:
|
/* Disable IC */
|
/* Disable IC */
|
l.mfspr r13,r0,SPR_SR
|
l.mfspr r13,r0,SPR_SR
|
l.addi r12,r0,-1
|
l.addi r12,r0,-1
|
l.xori r12,r12,SPR_SR_ICE
|
l.xori r12,r12,SPR_SR_ICE
|
l.and r12,r13,r12
|
l.and r12,r13,r12
|
Line 265... |
Line 265... |
*/
|
*/
|
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
.global or1k_dcache_disable
|
.global or1k_dcache_disable
|
.type or1k_dcache_disable,@function
|
.type or1k_dcache_disable,@function
|
|
|
or1k_dcache_disble:
|
or1k_dcache_disable:
|
/* Disable DC */
|
/* Disable DC */
|
l.mfspr r13,r0,SPR_SR
|
l.mfspr r13,r0,SPR_SR
|
l.addi r12,r0,-1
|
l.addi r12,r0,-1
|
l.xori r12,r12,SPR_SR_DCE
|
l.xori r12,r12,SPR_SR_DCE
|
l.and r12,r13,r12
|
l.and r12,r13,r12
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.