Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add a short key translation map for the boot code.



details:   https://anonhg.NetBSD.org/src/rev/f9608954633e
branches:  trunk
changeset: 559266:f9608954633e
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Mar 13 22:40:51 2004 +0000

description:
Add a short key translation map for the boot code.
Usage:
        cp = strchr(bp->bp_keymap, c);
        if (cp != 0 && cp[1] != 0)
                c = cp[1];

diffstat:

 sys/sys/bootblock.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 79a5b1414baa -r f9608954633e sys/sys/bootblock.h
--- a/sys/sys/bootblock.h       Sat Mar 13 22:28:47 2004 +0000
+++ b/sys/sys/bootblock.h       Sat Mar 13 22:40:51 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootblock.h,v 1.22 2004/02/16 07:37:06 lukem Exp $     */
+/*     $NetBSD: bootblock.h,v 1.23 2004/03/13 22:40:51 dsl Exp $       */
 
 /*-
  * Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
@@ -601,6 +601,7 @@
        uint32_t        bp_consdev;
        uint32_t        bp_conspeed;
        uint8_t         bp_password[16];        /* md5 hash of password */
+       char            bp_keymap[16];  /* keyboard traslation map */
 };
 
 #endif /* !defined(__ASSEMBLER__) */                           /* } */



Home | Main Index | Thread Index | Old Index