diff options
Diffstat (limited to 'sys/powerpc/booke/locore.S')
-rw-r--r-- | sys/powerpc/booke/locore.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/powerpc/booke/locore.S b/sys/powerpc/booke/locore.S index ea9ede23f8c4..aaed3c3198bd 100644 --- a/sys/powerpc/booke/locore.S +++ b/sys/powerpc/booke/locore.S @@ -412,6 +412,8 @@ bp_kernload: ori %r3, %r3, (MAS3_SX | MAS3_SW | MAS3_SR)@l mtspr SPR_MAS3, %r3 isync + bl zero_mas7 + bl zero_mas8 tlbwe isync msync @@ -846,6 +848,14 @@ ENTRY(dataloss_erratum_access) blr +/* + * XXX: This should be moved to a shared AIM/booke asm file, if one ever is + * created. + */ +ENTRY(get_spr) + mfspr %r3, 0 + blr + /************************************************************************/ /* Data section */ /************************************************************************/ |