diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-08 14:36:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-08 14:36:11 +0000 |
commit | 491bb53ae4e146b2682e22062a1ebf5064292f94 (patch) | |
tree | a9645db4291bbbc72840bbe42ba5a10b5cfe1167 /sys/arch/mvme88k/include/cpu.h | |
parent | c73c0e01b2fc454406e0c3138cb97706813c4876 (diff) |
Replace gazillions of badvaddr() or badwordaddr() calls with badaddr() calls.
With a few prototype declarations shuffling, this finally allows
<machine/locore.h> to die.
Diffstat (limited to 'sys/arch/mvme88k/include/cpu.h')
-rw-r--r-- | sys/arch/mvme88k/include/cpu.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h index bdf7ab52cea..d4e1cfdd316 100644 --- a/sys/arch/mvme88k/include/cpu.h +++ b/sys/arch/mvme88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.33 2006/04/15 15:43:36 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.34 2006/05/08 14:36:10 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -46,12 +46,12 @@ #ifdef _KERNEL /* board dependent pointers */ -extern void (*md_interrupt_func_ptr)(u_int, struct trapframe *); +extern void (*md_interrupt_func_ptr)(u_int, struct trapframe *); #define md_interrupt_func (*md_interrupt_func_ptr) -extern u_int (*md_getipl)(void); -extern u_int (*md_setipl)(u_int); -extern u_int (*md_raiseipl)(u_int); -extern void (*md_init_clocks)(void); +extern u_int (*md_getipl)(void); +extern u_int (*md_setipl)(u_int); +extern u_int (*md_raiseipl)(u_int); +extern void (*md_init_clocks)(void); struct intrhand { SLIST_ENTRY(intrhand) ih_link; @@ -74,7 +74,8 @@ int intr_establish(int, struct intrhand *, const char *); typedef SLIST_HEAD(, intrhand) intrhand_t; extern intrhand_t intr_handlers[NVMEINTR]; -void nmihand(void *); +void doboot(void); +void nmihand(void *); #endif /* _KERNEL */ |