Commit graph

4247 commits

Author SHA1 Message Date
Vladimir 'phcoder' Serbinenko
400ef90dba Fix reversal of NPAGE and PPAGE when handling Linux keymaps 2010-08-23 20:40:06 +02:00
BVK Chaitanya
0c8b61d8e4 automake based build system for grub 2010-08-23 23:26:24 +05:30
BVK Chaitanya
645586e686 Replace --enable-grub-emu-modules with grub-emu-lite.
* kern/emu/cache.S: New file.  Wrapper for $target_cpu specific
	cache.S.

	* include/grub/emu/misc.h (grub_emu_init): New prototype.
	* kern/emu/full.c: New file. For grub-emu specific initialization.
	* kern/emu/lite.c: New file. For grub-emu-lite initialization.
	* kern/emu/main.c: Call initialization function grub_emu_init.

	* Makefile.in: Include grub-emu-lite in install.
	* commands/parttool.c: Use grub_no_autoload to differentiate
	between grub-emu and grub-emu-lite.
	* include/grub/misc.h: New variable grub_no_autoload.

	* conf/any-emu.rmk: New rules for grub-emu-lite.
	* configure.ac: Remove --enable-grub-emu-modules.
	* genmk.rb: Cleanup unnecessary rules.
	* include/grub/dl.h: Remove GRUB_NO_MODULES macro.

	* normal/main.c: Don't load list files on grub-emu-lite.
	* util/misc.c (grub_arch_sync_caches): Removed.
2010-08-23 23:06:29 +05:30
BVK Chaitanya
9444311834 merge with mainline 2010-08-23 21:50:38 +05:30
BVK Chaitanya
41b016a481 fix x86_64-efi build 2010-08-23 21:23:39 +05:30
Colin Watson
f86a4030ed * kern/mips/startup.S (grub_prefix): Update comment to refer to
grub-mkimage rather than grub-mkelfimage.
* kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise.
2010-08-23 12:55:47 +01:00
Vladimir 'phcoder' Serbinenko
3ba3c4567e Change GRUB_TERM_NO_KEY to 0 2010-08-23 13:21:53 +02:00
Vladimir 'phcoder' Serbinenko
9f5a5ad55a Fix RCTRL and RALT linux scancodes 2010-08-23 13:21:26 +02:00
Vladimir 'phcoder' Serbinenko
071b673a7b Fix bugs in grub_getkey introduced in previous commit 2010-08-23 13:12:29 +02:00
Vladimir 'phcoder' Serbinenko
9518e2a12b Macroify GRUB_TERM_NO_KEY and use grub_checkkey in grub_getkey 2010-08-23 12:53:42 +02:00
Vladimir 'phcoder' Serbinenko
df2174dded Remove checkkey on term level 2010-08-23 12:07:49 +02:00
Vladimir 'phcoder' Serbinenko
7ae3eb6232 Wait for ACKs when setting the mode 2010-08-23 11:26:28 +02:00
BVK Chaitanya
9e860d5437 force bash for autogen.sh 2010-08-23 14:07:29 +05:30
BVK Chaitanya
40a4a8a9ed fix exit 1 in autogen.sh 2010-08-23 13:32:59 +05:30
BVK Chaitanya
f7711f5ef1 final touches 2010-08-23 13:23:56 +05:30
BVK Chaitanya
30c4f234cc fix emu build 2010-08-23 10:31:08 +05:30
Vladimir 'phcoder' Serbinenko
b88904ca7f Fix ignoring of set1 extended sequences 2010-08-23 01:44:54 +02:00
Vladimir 'phcoder' Serbinenko
9e91bd9d9a Fix multiple issues with set 2 2010-08-23 01:13:54 +02:00
Vladimir 'phcoder' Serbinenko
09206dc3d0 Macroify key constants 2010-08-22 23:56:41 +02:00
Vladimir 'phcoder' Serbinenko
5ea70ca5fa Support scancode set 2 2010-08-22 22:53:31 +02:00
Vladimir 'phcoder' Serbinenko
efc3e75f4d Bump keylayouts version 2010-08-22 18:16:16 +02:00
Vladimir 'phcoder' Serbinenko
f582367ecf Set the leds and drain the input buffer in at_keyboard initialisation 2010-08-22 18:15:27 +02:00
Vladimir 'phcoder' Serbinenko
6e05e7f0f8 Properly handle extended_pending 2010-08-22 17:44:03 +02:00
BVK Chaitanya
d84666e6bb merge with mainline 2010-08-22 21:00:22 +05:30
Vladimir 'phcoder' Serbinenko
59004db595 merge mainline into keylayouts 2010-08-22 17:12:27 +02:00
Vladimir 'phcoder' Serbinenko
0677694455 * term/at_keyboard.c (grub_at_keyboard_getkey_noblock): Don't discard
a key after CapsLock or NumLock. It's just a qemu bug.
2010-08-22 17:10:39 +02:00
Vladimir 'phcoder' Serbinenko
c32f26bce8 Make USB the main keylayout for simplicity 2010-08-22 16:06:09 +02:00
Vladimir 'phcoder' Serbinenko
49c822bc42 Support numpad 2010-08-22 02:17:14 +02:00
Vladimir 'phcoder' Serbinenko
96157c5378 Increase pre-repeat usb keyboad interval 2010-08-22 01:01:31 +02:00
Vladimir 'phcoder' Serbinenko
c2994de134 Add back accidently removed mov 2010-08-22 00:57:04 +02:00
Vladimir 'phcoder' Serbinenko
7209c54e91 Set last_key to -1 at init time 2010-08-22 00:31:43 +02:00
Vladimir 'phcoder' Serbinenko
7e6975d7ea Support USB key repeat 2010-08-22 00:29:34 +02:00
Vladimir 'phcoder' Serbinenko
ab247a453f Ignore keyboard errors and track numlock status 2010-08-22 00:01:21 +02:00
Vladimir 'phcoder' Serbinenko
524c2712ad merge usb into keylayouts 2010-08-21 23:17:44 +02:00
Vladimir 'phcoder' Serbinenko
ff62c48f5a Use status change pipe for hub hotplug detection 2010-08-21 23:09:37 +02:00
Vladimir 'phcoder' Serbinenko
f609c84a7f MAke an enum out of reqtype 2010-08-21 21:55:24 +02:00
Vladimir 'phcoder' Serbinenko
3593f89bf3 clear port status change afte polling it 2010-08-21 21:39:15 +02:00
Vladimir 'phcoder' Serbinenko
b481fe847a really set controller_data in ohci 2010-08-21 20:54:20 +02:00
Vladimir 'phcoder' Serbinenko
5a2823c191 Give better debug message in usb_keyboard_checkkey 2010-08-21 19:42:31 +02:00
Vladimir 'phcoder' Serbinenko
0aaf4938c7 Fix incorrect toggle calculation 2010-08-21 19:41:37 +02:00
Vladimir 'phcoder' Serbinenko
2eb310be79 Enable usb device polling again 2010-08-21 18:24:09 +02:00
BVK Chaitanya
f51c98c485 remove wrong extension 2010-08-21 21:23:42 +05:30
BVK Chaitanya
5815f2c19a picks 10_${host_kernel} script 2010-08-21 21:03:26 +05:30
Vladimir 'phcoder' Serbinenko
e959937cfd Use background transfers for usb_keyboard 2010-08-21 17:12:51 +02:00
Vladimir 'phcoder' Serbinenko
3ee4474e8d Prepare infrastructure for background USB transfers 2010-08-21 16:09:43 +02:00
Vladimir 'phcoder' Serbinenko
bcfa613bc4 correctly pass interfno and don't use GetReport 2010-08-21 13:56:55 +02:00
Vladimir 'phcoder' Serbinenko
12cbb3ccd0 Don't retire active transaction on a NAK 2010-08-21 13:55:06 +02:00
Vladimir 'phcoder' Serbinenko
d10d149667 Return USB_ERR_INTERNAL instead of grub_errno when appropriate 2010-08-21 13:54:10 +02:00
BVK Chaitanya
354128c8af fix x86_64_efi build 2010-08-21 17:22:19 +05:30
BVK Chaitanya
c721825b4f build fixes for mips and ieee1275 platforms 2010-08-21 17:11:40 +05:30