⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 generic_bus.h

📁 x.org上有关ati系列显卡最新驱动
💻 H
字号:
#ifndef __GENERIC_BUS_H__#define __GENERIC_BUS_H__/* this is meant to be used for proprietary buses where abstraction is needed   but they don't occur often enough to warrant a separate helper library */#define GB_IOCTL_GET_NAME	1          /* third argument is size of the buffer, fourth argument is pointer	     to the buffer. Returns the name of the bus */#define GB_IOCTL_GET_TYPE	2          /* third argument is size of the buffer, fourth argument is pointer	     to the buffer. Returns the type of the bus, driver should check	     this at initialization time to find out whether they are compatible	      */typedef struct _GENERIC_BUS_Rec *GENERIC_BUS_Ptr;typedef struct _GENERIC_BUS_Rec{        int scrnIndex;        DevUnion  DriverPrivate;	Bool (*ioctl)(GENERIC_BUS_Ptr, long, long, char *);	Bool (*read)(GENERIC_BUS_Ptr, CARD32,  CARD32, CARD8 *);	Bool (*write)(GENERIC_BUS_Ptr, CARD32,  CARD32, CARD8 *);	Bool (*fifo_read)(GENERIC_BUS_Ptr, CARD32,  CARD32, CARD8 *);	Bool (*fifo_write)(GENERIC_BUS_Ptr, CARD32,  CARD32, CARD8 *);	} GENERIC_BUS_Rec;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -