ef8846857fcf954444cdc77e72249afef48377d2rb/*
ef8846857fcf954444cdc77e72249afef48377d2rb * CDDL HEADER START
ef8846857fcf954444cdc77e72249afef48377d2rb *
ef8846857fcf954444cdc77e72249afef48377d2rb * The contents of this file are subject to the terms of the
ef8846857fcf954444cdc77e72249afef48377d2rb * Common Development and Distribution License (the "License").
ef8846857fcf954444cdc77e72249afef48377d2rb * You may not use this file except in compliance with the License.
ef8846857fcf954444cdc77e72249afef48377d2rb *
ef8846857fcf954444cdc77e72249afef48377d2rb * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ef8846857fcf954444cdc77e72249afef48377d2rb * or http://www.opensolaris.org/os/licensing.
ef8846857fcf954444cdc77e72249afef48377d2rb * See the License for the specific language governing permissions
ef8846857fcf954444cdc77e72249afef48377d2rb * and limitations under the License.
ef8846857fcf954444cdc77e72249afef48377d2rb *
ef8846857fcf954444cdc77e72249afef48377d2rb * When distributing Covered Code, include this CDDL HEADER in each
ef8846857fcf954444cdc77e72249afef48377d2rb * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ef8846857fcf954444cdc77e72249afef48377d2rb * If applicable, add the following below this CDDL HEADER, with the
ef8846857fcf954444cdc77e72249afef48377d2rb * fields enclosed by brackets "[]" replaced with your own identifying
ef8846857fcf954444cdc77e72249afef48377d2rb * information: Portions Copyright [yyyy] [name of copyright owner]
ef8846857fcf954444cdc77e72249afef48377d2rb *
ef8846857fcf954444cdc77e72249afef48377d2rb * CDDL HEADER END
ef8846857fcf954444cdc77e72249afef48377d2rb */
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb/*
ef8846857fcf954444cdc77e72249afef48377d2rb * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
ef8846857fcf954444cdc77e72249afef48377d2rb * Use is subject to license terms.
ef8846857fcf954444cdc77e72249afef48377d2rb */
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#ifndef _SYS_DS_PRI_H_
ef8846857fcf954444cdc77e72249afef48377d2rb#define _SYS_DS_PRI_H_
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#pragma ident "%Z%%M% %I% %E% SMI"
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#include <sys/types.h>
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#ifdef __cplusplus
ef8846857fcf954444cdc77e72249afef48377d2rbextern "C" {
ef8846857fcf954444cdc77e72249afef48377d2rb#endif
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb/*
ef8846857fcf954444cdc77e72249afef48377d2rb * ioctl info for ds_pri device
ef8846857fcf954444cdc77e72249afef48377d2rb */
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#define DSPRIIOC ('d' << 24 | 's' << 16 | 'p' << 8)
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#define DSPRI_GETINFO (DSPRIIOC | 1) /* Get PRI size */
ef8846857fcf954444cdc77e72249afef48377d2rb#define DSPRI_WAIT (DSPRIIOC | 2) /* Wait for PRI change */
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb/*
ef8846857fcf954444cdc77e72249afef48377d2rb * DSPRI_GETINFO
ef8846857fcf954444cdc77e72249afef48377d2rb * Datamodel invariant.
ef8846857fcf954444cdc77e72249afef48377d2rb */
ef8846857fcf954444cdc77e72249afef48377d2rbstruct dspri_info {
ef8846857fcf954444cdc77e72249afef48377d2rb uint64_t size;
ef8846857fcf954444cdc77e72249afef48377d2rb uint64_t token;
ef8846857fcf954444cdc77e72249afef48377d2rb};
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#ifdef __cplusplus
ef8846857fcf954444cdc77e72249afef48377d2rb}
ef8846857fcf954444cdc77e72249afef48377d2rb#endif
ef8846857fcf954444cdc77e72249afef48377d2rb
ef8846857fcf954444cdc77e72249afef48377d2rb#endif /* _SYS_DS_PRI_H_ */