add ksyms, proto fix.
-/* $OpenBSD: conf.h,v 1.7 1997/02/22 21:09:16 kstailey Exp $ */
+/* $OpenBSD: conf.h,v 1.8 2000/03/02 23:01:45 todd Exp $ */
/*-
* Copyright (c) 1996 Kenneth Stailey. All rights reserved.
#else
#define NIPF 0
#endif
+
+cdev_decl(ksyms);
-/* $OpenBSD: cpu.h,v 1.10 1997/11/04 12:32:03 kstailey Exp $ */
+/* $OpenBSD: cpu.h,v 1.11 2000/03/02 23:01:45 todd Exp $ */
/* $NetBSD: cpu.h,v 1.20 1995/12/21 05:02:10 mycroft Exp $ */
/*
void proc_trampoline __P((void));
/* trap.c */
-void child_return __P((struct proc *));
+void child_return __P((void *));
#endif /* _KERNEL */
-/* $OpenBSD: machdep.h,v 1.8 1998/03/01 00:37:48 niklas Exp $ */
+/* $OpenBSD: machdep.h,v 1.9 2000/03/02 23:01:46 todd Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
int cachectl __P((int req, caddr_t addr, int len));
-void child_return __P((struct proc *));
+void child_return __P((void *));
void configure __P((void));
void cninit __P((void));
-/* $OpenBSD: param.h,v 1.17 1997/09/11 16:09:58 kstailey Exp $ */
+/* $OpenBSD: param.h,v 1.18 2000/03/02 23:01:46 todd Exp $ */
/* $NetBSD: param.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */
/*
#endif
#endif
+#define MSGBUFSIZE NBPG
+
/*
* Size of kernel malloc arena in CLBYTES-sized logical pages
*/
register int _spl_r; \
\
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
- "&=d" (_spl_r) : "di" (s)); \
+ "=&d" (_spl_r) : "di" (s)); \
_spl_r; \
})