xref: /freebsd/sys/compat/linuxkpi/common/include/linux/agp_backend.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 /* Public domain */
2 
3 #ifndef _LINUXKPI_LINUX_AGP_BACKEND_H_
4 #define	_LINUXKPI_LINUX_AGP_BACKEND_H_
5 
6 #include <sys/types.h>
7 
8 struct agp_version {
9 	uint16_t	major;
10 	uint16_t	minor;
11 };
12 
13 struct agp_kern_info {
14 	struct agp_version	version;
15 	uint16_t		vendor;
16 	uint16_t		device;
17 	unsigned long		mode;
18 	unsigned long		aper_base;
19 	size_t			aper_size;
20 	int			max_memory;
21 	int			current_memory;
22 	bool			cant_use_aperture;
23 	unsigned long		page_mask;
24 };
25 
26 struct agp_memory;
27 
28 #endif /* _LINUXKPI_LINUX_AGP_BACKEND_H_ */
29