From: Ben Guthro <bguthro@virtualiron.com>
To: xen-devel@lists.xensource.com
Cc: Steve Ofsthun <sofsthun@virtualiron.com>
Subject: [PATCH] Add f11/f12 scancodes
Date: Wed, 29 Aug 2007 09:35:32 -0400 [thread overview]
Message-ID: <46D57624.1040707@virtualiron.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
Add rombios decoding of F11/F12 scancodes in support for
Microsoft's Remote Installation Services, which require F11/F12 keys
Signed-off-by: Ben Guthro <bguthro@virtualron.com>
Signed-off-by: Steve Ofsthun <sofsthun@virtualiron.com>
[-- Attachment #2: f11-f12-scancodes.patch --]
[-- Type: text/x-patch, Size: 1465 bytes --]
diff -r 79aee363abab tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c Tue Aug 21 11:32:43 2007 -0400
+++ b/tools/firmware/rombios/rombios.c Tue Aug 21 11:32:43 2007 -0400
@@ -1057,7 +1057,7 @@ static char CVSID[] = "$Id: rombios.c,v
#define UNSUPPORTED_FUNCTION 0x86
#define none 0
-#define MAX_SCAN_CODE 0x53
+#define MAX_SCAN_CODE 0x58
static struct {
Bit16u normal;
@@ -1149,7 +1149,12 @@ static struct {
{ 0x5000, 0x5032, none, none, 0x20 }, /* 2 Down */
{ 0x5100, 0x5133, 0x7600, none, 0x20 }, /* 3 PgDn */
{ 0x5200, 0x5230, none, none, 0x20 }, /* 0 Ins */
- { 0x5300, 0x532e, none, none, 0x20 } /* Del */
+ { 0x5300, 0x532e, none, none, 0x20 }, /* Del */
+ { none, none, none, none, none }, /* ??? */
+ { none, none, none, none, none }, /* ??? */
+ { none, none, none, none, none }, /* ??? */
+ { 0x8500, 0x8700, 0x8900, 0x8b00, none }, /* F11 */
+ { 0x8600, 0x8800, 0x8a00, 0x8c00, none }, /* F12 */
};
Bit8u
@@ -4682,7 +4687,7 @@ int09_function(DI, SI, BP, SP, BX, DX, C
default:
if (scancode & 0x80) return; /* toss key releases ... */
if (scancode > MAX_SCAN_CODE) {
- BX_INFO("KBD: int09h_handler(): unknown scancode read!\n");
+ BX_INFO("KBD: int09h_handler(): unknown scancode (%x) read!\n", scancode);
return;
}
if (shift_flags & 0x08) { /* ALT */
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2007-08-29 13:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46D57624.1040707@virtualiron.com \
--to=bguthro@virtualiron.com \
--cc=sofsthun@virtualiron.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.