OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 999 to Rev 1000
    Reverse comparison

Rev 999 → Rev 1000

/trunk/orpmon/reset.S
70,6 → 70,8
l.addi r5,r0,0x00
l.sw 0(r3),r5
.endif
l.addi r3,r0,SPR_SR_SM
l.mtspr r0,r3,SPR_SR
l.movhi r3,hi(_start)
l.ori r3,r3,lo(_start)
l.jr r3
199,7 → 201,8
l.addi r10,r10,16
 
/* Enable IC */
l.addi r10,r0,(SPR_SR_ICE|SPR_SR_SM)
l.mfspr r10,r0,SPR_SR
l.ori r10,r10,(SPR_SR_ICE|SPR_SR_SM)
l.mtspr r0,r10,SPR_SR
l.nop
l.nop
222,7 → 225,8
l.addi r10,r10,16
 
/* Enable DC */
l.addi r10,r0,(SPR_SR_DCE|SPR_SR_SM)
l.mfspr r10,r0,SPR_SR
l.ori r10,r10,(SPR_SR_DCE|SPR_SR_SM)
l.mtspr r0,r10,SPR_SR
 
l.jr r9

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.