Mercurial > flash_v2
diff packages/hal/powerpc/mpc8xx/current/include/variant.inc @ 103:95f3e12a6327 ecos-sw-2000-06-23
Merge from eCos master repository on 2000-06-23-16:41:10-BST
| author | jlarmour |
|---|---|
| date | Fri, 23 Jun 2000 17:06:31 +0000 |
| parents | 435cced73e2f |
| children | e0c0827131d1 |
line wrap: on
line diff
--- a/packages/hal/powerpc/mpc8xx/current/include/variant.inc +++ b/packages/hal/powerpc/mpc8xx/current/include/variant.inc @@ -99,6 +99,14 @@ mtspr CYGARC_REG_IC_CST,r3 isync + # Default caching to off when MMU is disabled + mfspr r3,CYGARC_REG_MI_CTR + oris r3,r3,(CYGARC_REG_MI_CTR_CIDEF)@h + mtspr CYGARC_REG_MI_CTR,r3 + mfspr r3,CYGARC_REG_MD_CTR + oris r3,r3,(CYGARC_REG_MD_CTR_CIDEF)@h + mtspr CYGARC_REG_MD_CTR,r3 + # Set up MSR (disable MMU for now) lwi r3,(CYG_MSR & ~(MSR_IR | MSR_DR)) sync
