drm_io32.h revision d0538f66491267879b7418b21ad78e3dcc2dcc83
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Use is subject to license terms.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#pragma ident "%Z%%M% %I% %E% SMI"
9512fe850e98fdd448c638ca63fdd92a8a510255ahltypedef struct drm_version_32 {
9512fe850e98fdd448c638ca63fdd92a8a510255ahltypedef struct drm_unique_32 {
9512fe850e98fdd448c638ca63fdd92a8a510255ahl caddr32_t unique; /* Unique name for driver instantiation */
9512fe850e98fdd448c638ca63fdd92a8a510255ahltypedef struct drm_ctx_priv_map_32 {
9512fe850e98fdd448c638ca63fdd92a8a510255ahl unsigned int ctx_id; /* Context requesting private mapping */
typedef struct drm_map_32 {
unsigned long long offset;
unsigned long long handle;
int mtrr;
} drm_map_32_t;
typedef struct drm_client_32 {
typedef struct drm_stats_32 {
typedef struct drm_buf_desc_32 {
typedef struct drm_buf_free_32 {
int count;
typedef struct drm_buf_pub_32 {
typedef struct drm_buf_map_32 {
#if defined(__cplusplus)
int fd;
typedef struct drm_agp_mode_32 {
typedef struct drm_agp_buffer32 {
typedef struct drm_agp_binding_32 {
typedef struct drm_agp_info_32 {
int agp_version_major;
int agp_version_minor;
unsigned short id_vendor;
unsigned short id_device;
typedef struct drm_scatter_gather_32 {
typedef struct drm_ctx_res_32 {
int count;
struct drm_wait_vblank_request_32 {
unsigned int sequence;
unsigned long signal;
struct drm_wait_vblank_reply_32 {
unsigned int sequence;
long tval_sec;
long tval_usec;
typedef union drm_wait_vblank_32 {