X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fkbregs.h;h=813fa1ae4b5170cdd77789c042354d156109e838;hb=refs%2Fheads%2Fmaster;hp=abf6524c206b448c7db74d72f67f718a5906c9e1;hpb=5e8cc93aaf1173688852acaa0825698c2dc0cb3f;p=bootcensus
diff --git a/src/kbregs.h b/src/kbregs.h
index abf6524..813fa1a 100644
--- a/src/kbregs.h
+++ b/src/kbregs.h
@@ -27,6 +27,8 @@ along with this program. If not, see .
#define KB_ACK 0xfa
#define KB_NACK 0xfe
+#define KB_TEST_PASSED 0x55
+#define KB_TEST_FAILED 0xfc
#define KB_STAT_OUTBUF_FULL 0x01
#define KB_STAT_INBUF_FULL 0x02
@@ -37,6 +39,8 @@ along with this program. If not, see .
#define KB_STAT_TIMEOUT 0x40
#define KB_STAT_PAR_ERROR 0x80
+#define KB_CMD_TEST 0xaa
+
/* keyboard commands */
#define KB_CMD_GET_CMDBYTE 0x20
#define KB_CMD_SET_CMDBYTE 0x60
@@ -55,6 +59,9 @@ along with this program. If not, see .
#define KB_CCB_KB_XLAT 0x40
/* psaux commands (use with d4 prefix) */
+#define AUX_CMD_STREAM_MODE 0xea
+#define AUX_CMD_READ_MOUSE 0xeb
+#define AUX_CMD_REMOTE_MODE 0xf0
#define AUX_CMD_ENABLE 0xf4
#define AUX_CMD_DEFAULTS 0xf6