summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-08-25 16:16:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-08-25 16:16:04 +0000
commit38762e30fe62a2c30bd49606a1fe008045c14640 (patch)
treea803357c604cbcd6e60f04e112984cb670581820 /sys/arch
parenta27ec33d1363f78d9f41cb60c4e0732c7f9fe9fa (diff)
Implement the data cache invalidation functions for 040, and fix a typo
as well. millert@ ok
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/hp300/locore.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s
index 4834f6d5d32..9c0c9dd22df 100644
--- a/sys/arch/hp300/hp300/locore.s
+++ b/sys/arch/hp300/hp300/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.28 2001/06/27 04:05:45 art Exp $ */
+/* $OpenBSD: locore.s,v 1.29 2001/08/25 16:16:03 miod Exp $ */
/* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */
/*
@@ -937,7 +937,7 @@ Lkbrkpt: | Kernel-mode breakpoint or trace trap. (d0=trap_type)
lea sp@(FR_SIZE),a6 | Save stack pointer
movl a6,sp@(FR_SP) | from before trap
- | If were are not on tmpstk switch to it.
+ | If we are not on tmpstk switch to it.
| (so debugger can change the stack pointer)
movl a6,d1
cmpl #_ASM_LABEL(tmpstk),d1
@@ -1622,11 +1622,11 @@ Lmotommu7:
* and TBI*.
*/
ENTRY(DCIA)
-__DCIA:
+_C_LABEL(_DCIA):
#if defined(M68040)
cmpl #MMU_68040,_C_LABEL(mmutype) | 68040
jne Lmotommu8 | no, skip
- /* XXX implement */
+ .word 0xf478 | cpusha dc
rts
Lmotommu8:
#endif
@@ -1645,7 +1645,7 @@ _C_LABEL(_DCIS):
#if defined(M68040)
cmpl #MMU_68040,_C_LABEL(mmutype) | 68040
jne Lmotommu9 | no, skip
- /* XXX implement */
+ .word 0xf478 | cpusha dc
rts
Lmotommu9:
#endif
@@ -1664,7 +1664,7 @@ _C_LABEL(_DCIU):
#if defined(M68040)
cmpl #MMU_68040,_C_LABEL(mmutype) | 68040
jne LmotommuA | no, skip
- /* XXX implement */
+ .word 0xf478 | cpusha dc
rts
LmotommuA:
#endif