xref: /freebsd/sys/compat/linuxkpi/common/include/linux/agp_backend.h (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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