[coreboot] r3342 - trunk/payloads/coreinfo
svn at coreboot.org
svn at coreboot.org
Wed May 21 15:49:04 CEST 2008
Author: uwe
Date: 2008-05-21 15:49:03 +0200 (Wed, 21 May 2008)
New Revision: 3342
Modified:
trunk/payloads/coreinfo/coreinfo.c
Log:
Add KEY_ESC (trivial).
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified: trunk/payloads/coreinfo/coreinfo.c
===================================================================
--- trunk/payloads/coreinfo/coreinfo.c 2008-05-21 07:10:15 UTC (rev 3341)
+++ trunk/payloads/coreinfo/coreinfo.c 2008-05-21 13:49:03 UTC (rev 3342)
@@ -22,6 +22,8 @@
#define SCREEN_Y 25
#define SCREEN_X 80
+#define KEY_ESC 27
+
extern struct coreinfo_module cpuinfo_module;
extern struct coreinfo_module pci_module;
extern struct coreinfo_module coreboot_module;
@@ -256,7 +258,7 @@
}
}
- if (key == 0x1B)
+ if (key == KEY_ESC)
return;
handle_category_key(&categories[curwin], key);
More information about the coreboot
mailing list