summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-04-27 01:52:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-04-27 01:52:14 +0000
commit1d8c583bfbd54da9b80bed64cb21bd377c44dd13 (patch)
treea7e9b7b385ebc87f39407ab32baf4c406eaa13dc /sys/arch/mac68k/include
parent39ef332c31acac15b7bf742185a421ca104b5882 (diff)
Lots of cleanup to catch up with other m68k-based ports and modern code,
including: - use netisr_dispatch - extract an allocsys() function from cpu_startup() - updated cachectl() - a few fixes in trap() and more...
Diffstat (limited to 'sys/arch/mac68k/include')
-rw-r--r--sys/arch/mac68k/include/cpu.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/sys/arch/mac68k/include/cpu.h b/sys/arch/mac68k/include/cpu.h
index 7507469a61b..a884cc13c27 100644
--- a/sys/arch/mac68k/include/cpu.h
+++ b/sys/arch/mac68k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.25 2002/04/16 20:54:16 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.26 2002/04/27 01:52:10 miod Exp $ */
/* $NetBSD: cpu.h,v 1.45 1997/02/10 22:13:40 scottr Exp $ */
/*
@@ -304,16 +304,25 @@ u_int get_mapping(void);
/* locore.s */
void m68881_restore(struct fpframe *);
void m68881_save(struct fpframe *);
+void DCIA(void);
+void DCIS(void);
+void DCIU(void);
+void ICIA(void);
+void ICPA(void);
+void PCIA(void);
void TBIA(void);
void TBIAS(void);
void TBIAU(void);
void TBIS(vm_offset_t);
-void DCFP(vm_offset_t);
-void ICPP(vm_offset_t);
-void DCIU(void);
-void DCIS(void);
-void ICIA(void);
-void DCFL(vm_offset_t);
+#if defined(M68040)
+void DCFA(void);
+void DCFP(paddr_t);
+void DCFL(paddr_t);
+void DCPL(paddr_t);
+void DCPP(paddr_t);
+void ICPL(paddr_t);
+void ICPP(paddr_t);
+#endif
int suline(caddr_t, caddr_t);
void savectx(struct pcb *);
void proc_trampoline(void);