diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-24 23:26:30 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-24 23:26:30 +0000 |
commit | 716533506d2b889a3e1b6b2dab8c83c4f28525df (patch) | |
tree | e9fe41e4d355a268d895f0bd621af6e857653635 /sys/arch | |
parent | 7de6040e4e05e98b187e3461f1a02cc2405deb42 (diff) |
Add prototypes for softnet, ofrootfound.
Code cleanup for pmap headers.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/powerpc/include/autoconf.h | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/include/intr.h | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 9 |
3 files changed, 9 insertions, 6 deletions
diff --git a/sys/arch/powerpc/include/autoconf.h b/sys/arch/powerpc/include/autoconf.h index 72ef0317456..b7cda1e2401 100644 --- a/sys/arch/powerpc/include/autoconf.h +++ b/sys/arch/powerpc/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.7 2001/06/24 04:55:11 drahn Exp $ */ +/* $OpenBSD: autoconf.h,v 1.8 2001/06/24 23:26:28 drahn Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -99,5 +99,6 @@ void set_clockintr __P((void (*)(struct clockframe *))); void set_iointr __P((void (*)(void *, int))); int badaddr __P((void *, u_int32_t)); void calc_delayconst(void); +void ofrootfound(void); #endif /* _MACHINE_AUTOCONF_H_ */ diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h index 0f083463aa8..32b18dd0f86 100644 --- a/sys/arch/powerpc/include/intr.h +++ b/sys/arch/powerpc/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.10 2001/06/24 17:05:38 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.11 2001/06/24 23:26:29 drahn Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA. @@ -162,6 +162,7 @@ struct intrhand { extern int ppc_configed_intr_cnt; #define MAX_PRECONF_INTR 16 extern struct intrhand ppc_configed_intr[MAX_PRECONF_INTR]; +void softnet(int isr); #endif /* _LOCORE */ diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index d47f5d2d99b..44dc901e1a5 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.8 2001/06/24 05:17:04 drahn Exp $ */ +/* $OpenBSD: pmap.h,v 1.9 2001/06/24 23:26:29 drahn Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -52,13 +52,13 @@ typedef u_int sr_t; /* V->P mapping data */ typedef int pmapv_t; #define VP_SR_SIZE 32 -#define VP_SR_MASK VP_SR_SIZE-1 +#define VP_SR_MASK (VP_SR_SIZE-1) #define VP_SR_POS 27 #define VP_IDX1_SIZE 1024 -#define VP_IDX1_MASK VP_IDX1_SIZE-1 +#define VP_IDX1_MASK (VP_IDX1_SIZE-1) #define VP_IDX1_POS 17 #define VP_IDX2_SIZE 32 -#define VP_IDX2_MASK VP_IDX2_SIZE-1 +#define VP_IDX2_MASK (VP_IDX2_SIZE-1) #define VP_IDX2_POS 12 /* @@ -102,6 +102,7 @@ void pmap_bootstrap __P((u_int kernelstart, u_int kernelend)); void pmap_deactivate(struct proc *p); void pmap_activate(struct proc *p); +void pmap_real_memory(vm_offset_t *start, vm_size_t *size); #endif /* _KERNEL */ #endif /* _LOCORE */ |