patch-1.3.65 linux/drivers/char/kbd_kern.h
Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat Feb 17 10:29:28 1996
- Orig file:
v1.3.64/linux/drivers/char/kbd_kern.h
- Orig date:
Tue Oct 10 18:46:33 1995
diff -u --recursive --new-file v1.3.64/linux/drivers/char/kbd_kern.h linux/drivers/char/kbd_kern.h
@@ -67,6 +67,20 @@
extern unsigned char getledstate(void);
extern void setledstate(struct kbd_struct *kbd, unsigned int led);
+extern int do_poke_blanked_console;
+
+extern inline void show_console(void)
+{
+ do_poke_blanked_console = 1;
+ mark_bh(CONSOLE_BH);
+}
+
+extern inline void set_console(int nr)
+{
+ want_console = nr;
+ mark_bh(CONSOLE_BH);
+}
+
extern inline void set_leds(void)
{
mark_bh(KEYBOARD_BH);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this