diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-04-19 17:20:05 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-04-19 17:20:05 +0000 |
commit | f043b47880e1d055066f5786d164ca1bab944a4a (patch) | |
tree | 5cdcec964c71023bb555152c8e43c234a7efd443 /sys/arch/arc/isa | |
parent | a69a5ac6994ab8ae2fb41e30901abd9f7f51a9ac (diff) |
-Wall cleanup.
Change to new MI assym.h file generation. (genassym.cf)
Diffstat (limited to 'sys/arch/arc/isa')
-rw-r--r-- | sys/arch/arc/isa/isa_machdep.h | 6 | ||||
-rw-r--r-- | sys/arch/arc/isa/isabus.c | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/sys/arch/arc/isa/isa_machdep.h b/sys/arch/arc/isa/isa_machdep.h index 5186a287c94..8f6efd926c2 100644 --- a/sys/arch/arc/isa/isa_machdep.h +++ b/sys/arch/arc/isa/isa_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isa_machdep.h,v 1.4 1997/04/10 16:29:27 pefo Exp $ */ +/* $OpenBSD: isa_machdep.h,v 1.5 1997/04/19 17:20:00 pefo Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -64,6 +64,10 @@ struct arc_isa_bus { #define isa_intr_disestablish(c, h) \ (*(c)->ic_intr_disestablish)((c)->ic_data, (h)) +void sysbeepstop __P((void *)); +void sysbeep __P((int, int)); + + /* * Interrupt control struct used to control the ICU setup. */ diff --git a/sys/arch/arc/isa/isabus.c b/sys/arch/arc/isa/isabus.c index 4dfa984ed6e..1439c36d0c4 100644 --- a/sys/arch/arc/isa/isabus.c +++ b/sys/arch/arc/isa/isabus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isabus.c,v 1.10 1997/04/11 21:18:02 maja Exp $ */ +/* $OpenBSD: isabus.c,v 1.11 1997/04/19 17:20:01 pefo Exp $ */ /* $NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp $ */ /*- @@ -88,12 +88,15 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <sys/param.h> +#include <sys/proc.h> +#include <sys/user.h> #include <sys/systm.h> #include <sys/time.h> #include <sys/kernel.h> #include <sys/device.h> #include <sys/malloc.h> +#include <machine/pte.h> #include <machine/cpu.h> #include <machine/pio.h> #include <machine/autoconf.h> @@ -135,7 +138,8 @@ void *isabr_intr_establish __P((isa_chipset_tag_t, int, int, int, int (*)(void *), void *, char *)); void isabr_intr_disestablish __P((isa_chipset_tag_t, void*)); int isabr_iointr __P((unsigned int, struct clockframe *)); -void isabr_initicu(); +void isabr_initicu __P((void)); +void intr_calculatemasks __P((void)); extern int cputype; @@ -146,7 +150,6 @@ isabrmatch(parent, cfdata, aux) void *cfdata; void *aux; { - struct cfdata *cf = cfdata; struct confargs *ca = aux; /* Make sure that we're looking for a ISABR. */ |