summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/cpu.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-16 23:49:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-16 23:49:48 +0000
commit4c3ee3bc825b44e31dd265ae0db047015e86da6b (patch)
tree7177501c70e488ac5260c2bcd0c5b6ca2644702c /sys/arch/mvme88k/include/cpu.h
parent9e602379a914ff34ca6650a265b85e6ffe484b2d (diff)
Revert the mvme88k to 20011212. Recent changes had not been merged correctly,
and I am fed up with dissecting diffs to put back code that disappeared. This will likely be fixed shortly.
Diffstat (limited to 'sys/arch/mvme88k/include/cpu.h')
-rw-r--r--sys/arch/mvme88k/include/cpu.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h
index 333ed474c1b..1206fe23b69 100644
--- a/sys/arch/mvme88k/include/cpu.h
+++ b/sys/arch/mvme88k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.14 2001/12/13 08:55:51 smurph Exp $ */
+/* $OpenBSD: cpu.h,v 1.15 2001/12/16 23:49:46 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
@@ -184,23 +184,18 @@ struct switchframe {
void *sf_proc; /* proc pointer */
};
-/* This struct defines the machine dependant pointers */
-struct md_p {
+/* This struct defines the machine dependant function pointers */
+
+struct funcp {
void (*clock_init_func) __P((void)); /* interval clock init function */
void (*statclock_init_func) __P((void)); /* statistics clock init function */
void (*delayclock_init_func) __P((void)); /* delay clock init function */
void (*delay_func) __P((void)); /* delay clock function */
- void (*interrupt_func) __P((u_int, struct m88100_saved_state *)); /* interrupt func */
- void (*fp_precise_func) __P((void)); /* floating point precise function */
- void (*trap_func) __P((unsigned, struct m88100_saved_state *));
- void (*syscall_func) __P((register_t, struct m88100_saved_state *));
- volatile u_char *intr_mask;
- volatile u_char *intr_ipl;
- volatile u_char *intr_src;
+ void (*interrupt_func) __P((u_int, struct m88100_saved_state *)); /* interrupt func */
+ void (*fp_precise_func) __P((void)); /* floating point precise function */
};
-extern struct md_p md;
-
+extern struct funcp mdfp;
int badvaddr __P((vm_offset_t va, int size));
void nmihand __P((void *framep));