posix4.h (92727) | posix4.h (103574) |
---|---|
1#ifndef _P1003_1B_P1003_1B_H_ 2#define _P1003_1B_P1003_1B_H_ 3/*- 4 * Copyright (c) 1996, 1997, 1998 5 * HD Associates, Inc. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * | 1#ifndef _P1003_1B_P1003_1B_H_ 2#define _P1003_1B_P1003_1B_H_ 3/*- 4 * Copyright (c) 1996, 1997, 1998 5 * HD Associates, Inc. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/sys/posix4.h 92727 2002-03-19 22:20:14Z alfred $ | 34 * $FreeBSD: head/sys/sys/posix4.h 103574 2002-09-19 00:43:32Z alfred $ |
35 */ 36 37#include "opt_posix.h" 38 39#include <sys/param.h> 40#include <sys/ioccom.h> 41#include <sys/malloc.h> 42#include <posix4/sched.h> --- 16 unchanged lines hidden (view full) --- 59MALLOC_DECLARE(M_P31B); 60 61#define p31b_malloc(SIZE) malloc((SIZE), M_P31B, M_WAITOK) 62#define p31b_free(P) free((P), M_P31B) 63 64int p31b_proc(struct proc *, pid_t, struct proc **); 65 66void p31b_setcfg(int, int); | 35 */ 36 37#include "opt_posix.h" 38 39#include <sys/param.h> 40#include <sys/ioccom.h> 41#include <sys/malloc.h> 42#include <posix4/sched.h> --- 16 unchanged lines hidden (view full) --- 59MALLOC_DECLARE(M_P31B); 60 61#define p31b_malloc(SIZE) malloc((SIZE), M_P31B, M_WAITOK) 62#define p31b_free(P) free((P), M_P31B) 63 64int p31b_proc(struct proc *, pid_t, struct proc **); 65 66void p31b_setcfg(int, int); |
67int p31b_getcfg(int); |
|
67 68#ifdef _KPOSIX_PRIORITY_SCHEDULING 69 70/* 71 * KSCHED_OP_RW is a vector of read/write flags for each entry indexed 72 * by the enum ksched_op. 73 * 74 * 1 means you need write access, 0 means read is sufficient. --- 42 unchanged lines hidden --- | 68 69#ifdef _KPOSIX_PRIORITY_SCHEDULING 70 71/* 72 * KSCHED_OP_RW is a vector of read/write flags for each entry indexed 73 * by the enum ksched_op. 74 * 75 * 1 means you need write access, 0 means read is sufficient. --- 42 unchanged lines hidden --- |