grub/kern
cjwatson 4cbe67e509 2009-08-28 Colin Watson <cjwatson@ubuntu.com>
2009-08-28  Robert Millan  <rmh.grub@aybabtu.com>

	Add `getkeystatus' terminal method.  Add a new `keystatus' command
	to query it.

	* include/grub/term.h (GRUB_TERM_STATUS_SHIFT,
	GRUB_TERM_STATUS_CTRL, GRUB_TERM_STATUS_ALT): Definitions for
	modifier key bitmasks.
	(struct grub_term_input): Add `getkeystatus' member.
	(grub_getkeystatus): Add prototype.
	* kern/term.c (grub_getkeystatus): New function.

	* include/grub/i386/pc/memory.h
	(GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR): New macro.
	(struct grub_machine_bios_data_area): Define necessary parts of BIOS
	Data Area layout.
	* term/i386/pc/console.c (grub_console_getkeystatus): New function.
	(grub_console_term_input): Set `getkeystatus' member.
	* term/usb_keyboard.c (grub_usb_hid): Macroify HID protocol
	constants.
	(grub_usb_keyboard_getreport): Likewise.
	(grub_usb_keyboard_checkkey): Likewise.
	(grub_usb_keyboard_getkeystatus): New function.
	(grub_usb_keyboard_term): Set `getkeystatus' member.

	* commands/keystatus.c: New file.
	* conf/common.rmk (pkglib_MODULES): Add keystatus.mod.
	(keystatus_mod_SOURCES): New variable.
	(keystatus_mod_CFLAGS): Likewise.
	(keystatus_mod_LDFLAGS): Likewise.
	* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add
	commands/keystatus.c.
	* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
	* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
	* DISTLIST: Add commands/keystatus.c.
2009-08-28 13:20:34 +00:00
..
efi 2009-06-11 Pavel Roskin <proski@gnu.org> 2009-06-11 16:54:52 +00:00
generic remove all trailing whitespace 2009-06-10 21:04:23 +00:00
i386 2009-08-04 Robert Millan <rmh.grub@aybabtu.com> 2009-08-04 21:28:19 +00:00
ieee1275 2009-07-11 Bean <bean123ch@gmail.com> 2009-07-11 03:59:15 +00:00
powerpc 2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-01 14:49:22 +00:00
sparc64 2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-01 14:49:22 +00:00
x86_64 2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-02 00:21:07 +00:00
command.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
corecmd.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
device.c 2009-07-13 Pavel Roskin <proski@gnu.org> 2009-07-13 22:21:49 +00:00
disk.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
dl.c 2009-07-21 Pavel Roskin <proski@gnu.org> 2009-07-21 20:18:44 +00:00
elf.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
env.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
err.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
file.c 2009-07-25 Felix Zielcke <fzielcke@z-51.de> 2009-07-25 18:28:58 +00:00
fs.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
handler.c 2009-03-04 Bean <bean123ch@gmail.com> 2009-03-04 05:56:31 +00:00
list.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
main.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
misc.c 2009-08-24 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 19:40:40 +00:00
mm.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
parser.c 2009-07-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-07-25 15:13:07 +00:00
partition.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
reader.c 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
rescue_parser.c 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
rescue_reader.c 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
term.c 2009-08-28 Colin Watson <cjwatson@ubuntu.com> 2009-08-28 13:20:34 +00:00
time.c actually add kern/time.c 2008-08-05 12:38:12 +00:00