proc.h (285715) | proc.h (302372) |
---|---|
1/*- 2 * Copyright (c) 2007 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2007 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/cddl/compat/opensolaris/sys/proc.h 285715 2015-07-20 10:20:04Z ed $ | 26 * $FreeBSD: head/sys/cddl/compat/opensolaris/sys/proc.h 302372 2016-07-06 14:09:49Z nwhitehorn $ |
27 */ 28 29#ifndef _OPENSOLARIS_SYS_PROC_H_ 30#define _OPENSOLARIS_SYS_PROC_H_ 31 32#include <sys/param.h> 33#include <sys/kthread.h> 34#include_next <sys/proc.h> --- 5 unchanged lines hidden (view full) --- 40#include <sys/unistd.h> 41#include <sys/debug.h> 42 43#ifdef _KERNEL 44 45#define CPU curcpu 46#define minclsyspri PRIBIO 47#define maxclsyspri PVM | 27 */ 28 29#ifndef _OPENSOLARIS_SYS_PROC_H_ 30#define _OPENSOLARIS_SYS_PROC_H_ 31 32#include <sys/param.h> 33#include <sys/kthread.h> 34#include_next <sys/proc.h> --- 5 unchanged lines hidden (view full) --- 40#include <sys/unistd.h> 41#include <sys/debug.h> 42 43#ifdef _KERNEL 44 45#define CPU curcpu 46#define minclsyspri PRIBIO 47#define maxclsyspri PVM |
48#define max_ncpus mp_ncpus 49#define boot_max_ncpus mp_ncpus | 48#define max_ncpus (mp_maxid + 1) 49#define boot_max_ncpus (mp_maxid + 1) |
50 51#define TS_RUN 0 52 53#define p0 proc0 54 55#define t_tid td_tid 56 57typedef short pri_t; --- 40 unchanged lines hidden --- | 50 51#define TS_RUN 0 52 53#define p0 proc0 54 55#define t_tid td_tid 56 57typedef short pri_t; --- 40 unchanged lines hidden --- |