4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
27 #ifndef _SYS_FSSPRIOCNTL_H
28 #define _SYS_FSSPRIOCNTL_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #include <sys/types.h>
40 * Fair-share class specific structures for the priocntl system call.
42 typedef struct fssparms
{
43 pri_t fss_uprilim
; /* user priority limit */
44 pri_t fss_upri
; /* user priority */
47 typedef struct fssinfo
{
48 pri_t fss_maxupri
; /* configured limit on user priority range */
51 #define FSS_NOCHANGE -32768
54 * Fair-sharing class specific keys for the priocntl system call varargs
57 #define FSS_KY_UPRILIM 1 /* user priority limit */
58 #define FSS_KY_UPRI 2 /* user priority */
61 * The following is used by the dispadmin(8) command for scheduler
62 * administration and is not for general use.
64 typedef struct fssadmin
{
69 #define FSS_GETADMIN 1
70 #define FSS_SETADMIN 2
76 #endif /* _SYS_FSSPRIOCNTL_H */