diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1997-07-16 02:50:37 +0000 |
---|---|---|
committer | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1997-07-16 02:50:37 +0000 |
commit | fee03799b95240471d9007e4ccd2d6aad73c6450 (patch) | |
tree | 74e9a5f99b510f99950ecdfc0713ffec8ebf321c /drivers/sgi/char/gconsole.h | |
parent | e17d5d293c793bf9ba97c6fde9f07debba4dda38 (diff) |
o Implement /dev/graphics virtualizable access to
registers. The actual context switch code is not
yet there. But the rest of the magic (mapping/unmapping
the registers on demand is already in).
o Interface for allowing binary-only console modules added.
o My RRM bits, nothing really interesting now.
For now, I am assuming in the code that there will be a minor per
real graphics device, and that the X server will go and open
/dev/graphicsN instead of opening /dev/graphics and using the
gfx_attach_board->board variable.
The interface the X server uses is not clear.
I believe it will be pretty easy to provide the stripped down
shmiq interface. Not only that, but we can even provide the
same ABI (yes, ABI) for SGI shmiq input modules (yep, looks
pretty easy once you have an strace that shows this information).
Now, the only thing missing is figuring what is wrong my current
conception of the use of shmiq. I just can't get it.
Diffstat (limited to 'drivers/sgi/char/gconsole.h')
-rw-r--r-- | drivers/sgi/char/gconsole.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/sgi/char/gconsole.h b/drivers/sgi/char/gconsole.h index bfdfbffa3..e629fe9fc 100644 --- a/drivers/sgi/char/gconsole.h +++ b/drivers/sgi/char/gconsole.h @@ -18,10 +18,12 @@ struct console_ops { void (*memcpyw)(unsigned short *to, unsigned short *from, unsigned int count); }; +void register_gconsole (struct console_ops *); + /* This points to the system console */ -extern struct console_ops gconsole; +extern struct console_ops *gconsole; -extern void gfx_init (char **name); +extern void gfx_init (const char **name); extern void __set_origin (unsigned short offset); extern void hide_cursor (void); |