diff options
Diffstat (limited to 'drivers/sgi/char/graphics.h')
-rw-r--r-- | drivers/sgi/char/graphics.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/drivers/sgi/char/graphics.h b/drivers/sgi/char/graphics.h index 6a26e785d..a0477df1e 100644 --- a/drivers/sgi/char/graphics.h +++ b/drivers/sgi/char/graphics.h @@ -1,12 +1,23 @@ #define MAXCARDS 4 struct graphics_ops { - struct task_struct *owner; + /* SGIism: Board owner, gets the shmiq requests from the kernel */ + struct task_struct *g_owner; - /* Board info */ - void *board_info; - int board_info_len; + /* Last process that got the graphics registers mapped */ + struct task_struct *g_user; - void (*save_context)(void); - void (*restore_context)(void); + /* 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); }; + |