diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-03 01:22:27 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-03 01:22:27 +0000 |
commit | f9bbe9da79dbc8557c74efeb158b431cd67ace52 (patch) | |
tree | 3220d014a35f9d88a48668a1468524e988daebff /drivers/sgi/char/graphics.h | |
parent | 3d697109c1ff85ef563aec3d5e113ef225ed2792 (diff) |
Upgrade to 2.1.73.
Diffstat (limited to 'drivers/sgi/char/graphics.h')
-rw-r--r-- | drivers/sgi/char/graphics.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/sgi/char/graphics.h b/drivers/sgi/char/graphics.h index d5a8d2979..c8ad7e318 100644 --- a/drivers/sgi/char/graphics.h +++ b/drivers/sgi/char/graphics.h @@ -26,3 +26,31 @@ struct graphics_ops { void shmiq_init (void); void streamable_init (void); void usema_init (void); +#define MAXCARDS 4 + +struct 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); +void usema_init (void); |