summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-15 23:51:23 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:15 +0200
commit4bf4c70ff3285c57b1ee3d435534a7d33311d000 (patch)
tree71b48b8aa54c9dfa2dc5eb817239f5ab1011ca0f
parentd9be8218e63626ee0e0a02e07dd0705c6a65eda9 (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr, kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home, kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur, kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon, kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend, kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc, kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes. * i386/i386at/kd.c (do_modifier): Add prototype.
-rw-r--r--ChangeLog10
-rw-r--r--i386/i386at/kd.c1
-rw-r--r--i386/i386at/kd.h51
3 files changed, 62 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 874a087..b0c64b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,16 @@
* device/net_io.h (net_ast): Add prototype.
* ipc/ipc_kmsg.c: Include <device/net_io.h>
* kern/ast.c: Include <device/net_io.h>
+ * i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd,
+ kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2,
+ cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr,
+ kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home,
+ kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur,
+ kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon,
+ kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend,
+ kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc,
+ kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes.
+ * i386/i386at/kd.c (do_modifier): Add prototype.
2008-07-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 9dbbd46..75b56eb 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -118,6 +118,7 @@ int kdcnprobe(struct consdev *cp);
int kdcninit(struct consdev *cp);
int kdcngetc(dev_t dev, int wait);
int kdcnputc(dev_t dev, int c);
+int do_modifier (int, Scancode, boolean_t);
/*
* These routines define the interface to the device-specific layer.
diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h
index 2e8f831..e12f039 100644
--- a/i386/i386at/kd.h
+++ b/i386/i386at/kd.h
@@ -685,4 +685,55 @@ typedef struct {
#define MOUSE_MOTION 4 /* mouse motion */
#define KEYBD_EVENT 5 /* key up/down */
+extern boolean_t kd_isupper (u_char);
+extern boolean_t kd_islower (u_char);
+extern void kd_senddata (unsigned char);
+extern void kd_sendcmd (unsigned char);
+extern void kd_cmdreg_write (int);
+extern void kd_mouse_drain (void);
+extern void set_kd_state (int);
+extern void kd_setleds1 (u_char);
+extern void kd_setleds2 (void);
+extern void cnsetleds (u_char);
+extern void kdreboot (void);
+extern void kd_putc (u_char);
+extern void kd_parseesc (void);
+extern void kd_down (void);
+extern void kd_up (void);
+extern void kd_cr (void);
+extern void kd_tab (void);
+extern void kd_left (void);
+extern void kd_right (void);
+extern void kd_scrollup (void);
+extern void kd_scrolldn (void);
+extern void kd_cls (void);
+extern void kd_home (void);
+extern int kd_atoi (u_char *, int *);
+extern void kd_insch (int number);
+extern void kd_cltobcur (void);
+extern void kd_cltopcur (void);
+extern void kd_cltoecur (void);
+extern void kd_clfrbcur (void);
+extern void kd_eraseln (void);
+extern void kd_insln (int);
+extern void kd_delln (int);
+extern void kd_delch (int);
+extern void kd_erase (int);
+extern void kd_bellon (void);
+extern void kd_belloff (void);
+extern void kdinit (void);
+extern int kdsetkbent (struct kbentry *, int);
+extern int kdgetkbent (struct kbentry *);
+extern int kdsetbell (int, int);
+extern void kd_resend (void);
+extern void kd_handle_ack (void);
+extern int kd_kbd_magic (int);
+extern int kdstate2idx (int, boolean_t);
+extern void kd_parserest (u_char *);
+extern int kdcnmaygetc (void);
+
+extern void kd_slmwd (void *start, int count, int value);
+extern void kd_slmscu (void *from, void *to, int count);
+extern void kd_slmscd (void *from, void *to, int count);
+
#endif /* _KD_H_ */