diff options
author | michaels <michaels@cvs.openbsd.org> | 1997-04-29 00:46:28 +0000 |
---|---|---|
committer | michaels <michaels@cvs.openbsd.org> | 1997-04-29 00:46:28 +0000 |
commit | 606f362c4b7666edafa8acb05f2d4af2c04f6660 (patch) | |
tree | ae6a3c572c1b9ceae353cae30eeb68564b8d8499 | |
parent | cb4646d6db7b04560548eb7d5376246dc4b6e7c6 (diff) |
disable the datacache on Apollo cards for this release it would seem.
-rw-r--r-- | sys/arch/amiga/amiga/locore.s | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/amiga/amiga/locore.s b/sys/arch/amiga/amiga/locore.s index bae37aaea53..0b733ac24a7 100644 --- a/sys/arch/amiga/amiga/locore.s +++ b/sys/arch/amiga/amiga/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.20 1997/03/27 12:06:45 niklas Exp $ */ +/* $OpenBSD: locore.s,v 1.21 1997/04/29 00:46:27 michaels Exp $ */ /* $NetBSD: locore.s,v 1.72 1996/12/17 11:09:10 is Exp $ */ /* @@ -1058,15 +1058,15 @@ Lunshadow: jbsr _m68881_restore | restore it (does not kill a1) addql #4,sp #endif -/* flush TLB and turn on caches */ - +/* flush TLB and turn on caches */ jbsr _TBIA | invalidate TLB +#ifndef APOLLO /* XXX: unknown reason at the moment. */ movl #CACHE_ON,d0 tstl d5 jeq Lcacheon | is this needed? MLH - .word 0xf4f8 | cpusha bc - push & invalidate caches + .word 0xf4f8 | cpusha bc - push & invalidate caches movl #CACHE40_ON,d0 #ifdef M68060 btst #7,_machineid+3 @@ -1075,6 +1075,10 @@ Lunshadow: #endif Lcacheon: movc d0,cacr | clear cache(s) +#else /* APOLLO */ + movl #0x00808000,d0 + movc d0,cacr +#endif /* final setup for C code */ movw #PSL_LOWIPL,sr | lower SPL |