/*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
/*
* Copyright (c) 2012 Intel Corporation. All rights reserved.
*/
#ifndef _DRM_IO32_H_
#define _DRM_IO32_H_
#ifdef _MULTI_DATAMODEL
typedef struct drm_version_32 {
typedef struct drm_unique_32 {
typedef struct drm_ctx_priv_map_32 {
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 {
struct {
typedef struct drm_buf_desc_32 {
typedef struct drm_buf_free_32 {
int count;
/*
* Used by DRM_IOCTL_MAP_BUFS_32
*/
typedef struct drm_buf_pub_32 {
typedef struct drm_buf_map_32 {
#if defined(__cplusplus)
#else
#endif
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 {
};
struct drm_wait_vblank_reply_32 {
};
/*
* DRM_IOCTL_WAIT_VBLANK ioctl argument type.
*
* \sa drmWaitVBlank().
*/
typedef union drm_wait_vblank_32 {
#endif /* _MULTI_DATAMODEL */
#endif /* _DRM_IO32_H_ */