kern_synch.c (28342) | kern_synch.c (28551) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1990, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)kern_synch.c 8.9 (Berkeley) 5/19/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1990, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)kern_synch.c 8.9 (Berkeley) 5/19/95 |
39 * $Id: kern_synch.c,v 1.35 1997/08/16 19:07:20 wollman Exp $ | 39 * $Id: kern_synch.c,v 1.36 1997/08/18 01:34:38 julian Exp $ |
40 */ 41 42#include "opt_ktrace.h" 43#include "opt_smp.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/proc.h> --- 7 unchanged lines hidden (view full) --- 55#include <vm/vm.h> 56#include <vm/vm_param.h> 57#include <vm/vm_extern.h> 58#ifdef KTRACE 59#include <sys/ktrace.h> 60#endif 61 62#include <machine/cpu.h> | 40 */ 41 42#include "opt_ktrace.h" 43#include "opt_smp.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/proc.h> --- 7 unchanged lines hidden (view full) --- 55#include <vm/vm.h> 56#include <vm/vm_param.h> 57#include <vm/vm_extern.h> 58#ifdef KTRACE 59#include <sys/ktrace.h> 60#endif 61 62#include <machine/cpu.h> |
63#include <machine/limits.h> /* for UCHAR_MAX = typeof(p_priority)_MAX */ |
|
63 64static void rqinit __P((void *)); 65SYSINIT(runqueue, SI_SUB_RUN_QUEUE, SI_ORDER_FIRST, rqinit, NULL) 66 67u_char curpriority; /* usrpri of curproc */ 68int lbolt; /* once a second sleep address */ 69 70extern void endtsleep __P((void *)); --- 649 unchanged lines hidden --- | 64 65static void rqinit __P((void *)); 66SYSINIT(runqueue, SI_SUB_RUN_QUEUE, SI_ORDER_FIRST, rqinit, NULL) 67 68u_char curpriority; /* usrpri of curproc */ 69int lbolt; /* once a second sleep address */ 70 71extern void endtsleep __P((void *)); --- 649 unchanged lines hidden --- |