graphics.h

来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· C头文件 代码 · 共 28 行

H
28
字号
#define MAXCARDS 4struct graphics_ops {	/* SGIism: Board owner, gets the shmiq requests from the kernel */	struct task_struct *g_owner;	/* Last process that got the graphics registers mapped  */	struct task_struct *g_user;		/* Board info */	void               *g_board_info;	int                g_board_info_len;	/* These point to hardware registers that should be mapped with	 * GFX_ATTACH_BOARD and the size of the information pointed to	 */	unsigned long      g_regs;	int                g_regs_size;	void (*g_save_context)(void *);	void (*g_restore_context)(void *);	void (*g_reset_console)(void);	int  (*g_ioctl)(int device, int cmd, unsigned long arg);};void shmiq_init (void);void streamable_init (void);

⌨️ 快捷键说明

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