diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-20 12:04:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-20 12:04:55 +0000 |
commit | 1da56ce81596d7670d8abff6133f372e30601e9a (patch) | |
tree | e98ffa48c532a10b50475c34560afd34a3d845e9 /sys/arch/aviion/include/cpu.h | |
parent | b626e564cdab98a73d6136ca179b51592896ebb9 (diff) |
Introduce a ``struct board'' platform abstraction, to be able to support
more AViiON designs in the future.
Heuristics to tell designs apart in aviion_identify() are likely too weak,
but this is a start and AV400 still gets identified as AV400 (-:
Diffstat (limited to 'sys/arch/aviion/include/cpu.h')
-rw-r--r-- | sys/arch/aviion/include/cpu.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/aviion/include/cpu.h b/sys/arch/aviion/include/cpu.h index 3510ef0954b..f24ae82aab0 100644 --- a/sys/arch/aviion/include/cpu.h +++ b/sys/arch/aviion/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.1 2006/05/09 18:19:21 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.2 2006/05/20 12:04:54 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -45,14 +45,6 @@ #ifdef _KERNEL -/* board dependent pointers */ -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); - struct intrhand { SLIST_ENTRY(intrhand) ih_link; int (*ih_fn)(void *); |