/*
*/
/*
* Copyright (c) 2000 Doug Rabson
* Copyright (c) 2009, 2013, Intel Corporation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
#ifndef _SYS_AGPGART_H
#define _SYS_AGPGART_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _agp_version {
typedef struct _agp_info {
} agp_info_t;
typedef struct _agp_setup {
} agp_setup_t;
typedef struct _agp_allocate {
typedef struct _agp_bind_pages {
unsigned long agpb_pgcount;
unsigned int agpb_flags;
typedef struct _agp_unbind_pages {
unsigned long agpb_pgcount;
typedef struct _agp_bind {
} agp_bind_t;
typedef struct _agp_unbind {
} agp_unbind_t;
typedef struct _agp_rw_gtt {
unsigned long pgcount;
void *addr;
} agp_rw_gtt_t;
typedef struct _agp_gtt_info {
unsigned long agp_npage;
unsigned int agp_flags;
/* AGP status register bits definition */
/* rate for 2.0 mode */
/* AGP 3.0 only bits */
/* Rate for 3.0 mode */
/* AGP command register bits definition */
/* AGP 3.0 only bits */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_AGPGART_H */