diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 2001-12-20 06:07:29 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 2001-12-20 06:07:29 +0000 |
commit | 114e8abc12f5fa4603001f0a6eb0a059ba421d04 (patch) | |
tree | 581e9ab7af4fead7f3e81edb8a2d3b48510e7cc4 /sys/arch/mvme88k/include/cpu.h | |
parent | 99f6bbd894a8f39be6e3ac6ef157f316e9887ebe (diff) |
machine dependant pointer changes.
Diffstat (limited to 'sys/arch/mvme88k/include/cpu.h')
-rw-r--r-- | sys/arch/mvme88k/include/cpu.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h index 1206fe23b69..4731c9e8c79 100644 --- a/sys/arch/mvme88k/include/cpu.h +++ b/sys/arch/mvme88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.15 2001/12/16 23:49:46 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.16 2001/12/20 06:07:28 smurph Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -184,18 +184,20 @@ struct switchframe { void *sf_proc; /* proc pointer */ }; -/* This struct defines the machine dependant function pointers */ - -struct funcp { +/* This struct defines the machine dependant pointers */ +struct md_p { 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 (*interrupt_func) __P((u_int, struct m88100_saved_state *)); /* interrupt func */ + volatile u_char *intr_mask; + volatile u_char *intr_ipl; + volatile u_char *intr_src; }; -extern struct funcp mdfp; +extern struct md_p md; + int badvaddr __P((vm_offset_t va, int size)); void nmihand __P((void *framep)); |