diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2000-03-02 23:01:47 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2000-03-02 23:01:47 +0000 |
commit | cd3c940bae67b824df7b0941e939edb999f4f739 (patch) | |
tree | 9349f1d05dd459abefd52883f89bf2726d6d4b0b | |
parent | 1cf9017dfbc63664102c714b73bf92e405faa3c7 (diff) |
sun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>
add ksyms, proto fix.
-rw-r--r-- | sys/arch/sun3/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/sun3/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/sun3/include/machdep.h | 4 | ||||
-rw-r--r-- | sys/arch/sun3/include/param.h | 6 |
4 files changed, 11 insertions, 7 deletions
diff --git a/sys/arch/sun3/include/conf.h b/sys/arch/sun3/include/conf.h index ca4dbbf0f89..3a0db95395a 100644 --- a/sys/arch/sun3/include/conf.h +++ b/sys/arch/sun3/include/conf.h @@ -1,4 +1,4 @@ -/* $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. @@ -83,3 +83,5 @@ cdev_decl(ipl); #else #define NIPF 0 #endif + +cdev_decl(ksyms); diff --git a/sys/arch/sun3/include/cpu.h b/sys/arch/sun3/include/cpu.h index e3f0d3b8662..8194c5b979e 100644 --- a/sys/arch/sun3/include/cpu.h +++ b/sys/arch/sun3/include/cpu.h @@ -1,4 +1,4 @@ -/* $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 $ */ /* @@ -173,7 +173,7 @@ void switch_exit __P((struct proc *)); void proc_trampoline __P((void)); /* trap.c */ -void child_return __P((struct proc *)); +void child_return __P((void *)); #endif /* _KERNEL */ diff --git a/sys/arch/sun3/include/machdep.h b/sys/arch/sun3/include/machdep.h index 228e049aac5..196b6f569f7 100644 --- a/sys/arch/sun3/include/machdep.h +++ b/sys/arch/sun3/include/machdep.h @@ -1,4 +1,4 @@ -/* $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 @@ -90,7 +90,7 @@ void cache_flush_context(void); 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)); diff --git a/sys/arch/sun3/include/param.h b/sys/arch/sun3/include/param.h index 34bbc18e1c4..f588a07e0ea 100644 --- a/sys/arch/sun3/include/param.h +++ b/sys/arch/sun3/include/param.h @@ -1,4 +1,4 @@ -/* $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 $ */ /* @@ -90,6 +90,8 @@ #endif #endif +#define MSGBUFSIZE NBPG + /* * Size of kernel malloc arena in CLBYTES-sized logical pages */ @@ -108,7 +110,7 @@ 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; \ }) |