summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1994-08-17 08:51:10 +0000
committersos <sos@FreeBSD.org>1994-08-17 08:51:10 +0000
commitf78983c0b7b6872e13716d035b8977fc8e8c0ba8 (patch)
treed35fd4ab045bda2ed61cb1bf5fc5f940f169c57e /sys/alpha
parentc4a666f62f43adf9458286faaacc66ebd21aa16a (diff)
downloadFreeBSD-src-f78983c0b7b6872e13716d035b8977fc8e8c0ba8.zip
FreeBSD-src-f78983c0b7b6872e13716d035b8977fc8e8c0ba8.tar.gz
Updated to latest version from 1.1.5.1+
Reviewed by: Submitted by:
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/console.h29
1 files changed, 18 insertions, 11 deletions
diff --git a/sys/alpha/include/console.h b/sys/alpha/include/console.h
index e663dea..57f4d0b 100644
--- a/sys/alpha/include/console.h
+++ b/sys/alpha/include/console.h
@@ -14,7 +14,7 @@
* DK9210 Aalborg SO Phone: +45 9814 8076
*
* from:@(#)console.h 1.1 940105
- * $Id: console.h,v 1.7 1994/02/04 10:35:29 chmr Exp $
+ * $Id: console.h,v 1.1 1994/07/03 20:49:53 sos Exp $
*/
#ifndef _CONSOLE_H_
@@ -124,16 +124,19 @@ struct vt_mode {
#define NUM_STATES 8 /* states per key */
#define ALTGR_OFFSET 128 /* offset for altlock keys */
+struct key_t {
+ u_char map[NUM_STATES];
+ u_char spcl;
+ u_char flgs;
+};
+
struct keymap {
u_short n_keys;
- struct key_t {
- u_char map[NUM_STATES];
- u_char spcl;
- u_char flgs;
- } key[NUM_KEYS];
+ struct key_t key[NUM_KEYS];
};
#define MAXFK 16
+#define NUM_FKEYS 60
struct fkeytab {
u_char str[MAXFK];
@@ -190,6 +193,7 @@ typedef struct ssaver ssaver_t;
#define NLK 0x05 /* num lock key */
#define SLK 0x06 /* scroll lock key */
#define LALT 0x07 /* left alt key */
+#define BTAB 0x08 /* backwards tab */
#define LCTR 0x09 /* left control key */
#define NEXT 0x0a /* switch to next screen */
#define F_SCR 0x0b /* switch to first screen */
@@ -214,11 +218,14 @@ typedef struct ssaver ssaver_t;
#define KB_STAT 0x64 /* kbd status port */
#define KB_BUF_FULL 0x01 /* kbd has char pending */
#define KB_READY 0x02 /* kbd ready for command */
+#define KB_MODE 0x4D /* kbd mode (trans, ints enable)*/
#define KB_WRITE 0x60 /* kbd write command */
-#define KB_SETLEDS 0xed /* kbd set leds */
-#define KB_SETRAD 0xf3 /* kbd set repeat&delay command */
-#define KB_ACK 0xfa /* kbd acknowledge answer */
-#define KB_RESET_CPU 0xfe /* kbd reset main cpu command */
-#define KB_RESET 0xff /* kbd reset */
+#define KB_RESET_DONE 0xAA /* kbd reset command completed */
+#define KB_SETLEDS 0xED /* kbd set leds */
+#define KB_ECHO 0xEE /* kbd set leds */
+#define KB_SETRAD 0xF3 /* kbd set repeat&delay command */
+#define KB_ACK 0xFA /* kbd acknowledge answer */
+#define KB_RESEND 0xFE /* kbd resend cmd answer */
+#define KB_RESET 0xFF /* kbd reset */
#endif
OpenPOWER on IntegriCloud