]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:33:36 +0000 (23:33 +0200)]
Hopefully fix EFI problem. Not tested
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:19:11 +0000 (23:19 +0200)]
Fix compilation on 64-bit targets
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:18:44 +0000 (23:18 +0200)]
Remove leftover variabel
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:18:22 +0000 (23:18 +0200)]
put license on priority_queue
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 20:15:30 +0000 (22:15 +0200)]
IPv6 support. Several fixes and unifications
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 15:50:52 +0000 (17:50 +0200)]
Don't set RST in response to empty packets
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 15:39:13 +0000 (17:39 +0200)]
HTTP seek support. Various bugfixes.
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 11:32:40 +0000 (13:32 +0200)]
merge mainline into net
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 09:53:36 +0000 (11:53 +0200)]
* grub-core/Makefile.core.def: Eliminate rarely used emu_condition. This
in perspective decreases the complexity of build system and fixes
compilation right now.
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 08:22:23 +0000 (10:22 +0200)]
Fix warning on i386-pc
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 08:21:32 +0000 (10:21 +0200)]
Add network functions for grub-menulst2cfg
Szymon Janc [Tue, 4 Oct 2011 19:10:21 +0000 (21:10 +0200)]
* grub-core/io/lzopio.c (calculate_uncompressed_size): Fix return code.
Szymon Janc [Tue, 4 Oct 2011 18:21:12 +0000 (20:21 +0200)]
merge trunk
Szymon Janc [Mon, 3 Oct 2011 21:01:14 +0000 (23:01 +0200)]
* grub-core/Makefile.core.def (btrfs): Remove minilzo.c from common.
Szymon Janc [Mon, 3 Oct 2011 20:25:06 +0000 (22:25 +0200)]
* grub-core/fs/btrfs.c: Include <minilzo.h> instead of "minilzo.h".
* grub-core/io/lzopio.c: Likewise.
Szymon Janc [Mon, 3 Oct 2011 20:06:10 +0000 (22:06 +0200)]
* grub-core/io/lzopio.c: Improve crypt context alignment.
Szymon Janc [Mon, 3 Oct 2011 19:50:32 +0000 (21:50 +0200)]
* grub-core/fs/btrfs.c: Fix code style regressions.
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 20:51:12 +0000 (22:51 +0200)]
Some CS5536 code
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 20:01:31 +0000 (22:01 +0200)]
Disable SMI on OS ownership failure
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:53:43 +0000 (21:53 +0200)]
Several small fixes
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:42:44 +0000 (21:42 +0200)]
Use map range
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:37:02 +0000 (21:37 +0200)]
Move p2v and v2p to pci.h
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:31:53 +0000 (21:31 +0200)]
Fix p2v and v2p
starous [Sat, 1 Oct 2011 19:27:29 +0000 (21:27 +0200)]
@Rock changes - fixed coreboot problem
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:14:03 +0000 (21:14 +0200)]
Remove packed attribute.
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:13:29 +0000 (21:13 +0200)]
Fix link_td to use grub_uint32_t and not the pointer type
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:04:17 +0000 (21:04 +0200)]
run indent on ehci.c
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:03:03 +0000 (21:03 +0200)]
Replace #define with enum
Aleš Nesrsta [Sat, 1 Oct 2011 18:18:47 +0000 (20:18 +0200)]
EHCI implementation by Aleš Nesrsta.
BVK Chaitanya [Sat, 1 Oct 2011 01:49:37 +0000 (18:49 -0700)]
* gentpl.py: Use Autogen macros so that the output template file
(Makefile.tpl) size is reduced.
Mads Kiilerich [Thu, 29 Sep 2011 08:50:25 +0000 (10:50 +0200)]
* grub-core/Makefile.core.def (kernel): Add kern/i386/int.S to
extra_dist.
Mario Limonciello [Thu, 29 Sep 2011 08:39:44 +0000 (10:39 +0200)]
* util/misc.c (grub_util_get_disk_size) [__MINGW32__]: Strip trailing
slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls.
Mario Limonciello [Thu, 29 Sep 2011 08:36:55 +0000 (10:36 +0200)]
* grub-core/kern/emu/misc.c (canonicalize_file_name) [__MINGW32__]: Use
_fullpath.
Mario Limonciello [Thu, 29 Sep 2011 08:32:24 +0000 (10:32 +0200)]
Remove extra declaration of sleep for mingw32.
* util/misc.c (sleep) [__MINGW32__]: Removed.
* include/grub/util/misc.h (sleep) [__MINGW32__]: Likewise.
Grégoire Sutre [Wed, 28 Sep 2011 21:45:57 +0000 (23:45 +0200)]
Make knetbsd pass bootinfo bootdisk and bootwedge.
Thomas Haller [Wed, 28 Sep 2011 14:43:00 +0000 (16:43 +0200)]
* grub-core/loader/multiboot_elfxx.c (Elf_Shdr): Set according to
loader.
Andreas Born [Wed, 28 Sep 2011 12:19:21 +0000 (14:19 +0200)]
Fix incorrect identifiers in bash-completion.
* util/bash-completion.d/grub-completion.bash.in
(_grub_mkpasswd-pbkdf2): Rename to ...
(_grub_mkpasswd_pbkdf2): ... this. All users updated.
(_grub_script-check): Rename to ...
(_grub_script_check): ... this. All users updated.
Vladimir 'phcoder' Serbinenko [Wed, 28 Sep 2011 12:07:53 +0000 (14:07 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy):
Return 0 if disk isn't biosdisk.
Grégoire Sutre [Sat, 17 Sep 2011 21:40:10 +0000 (23:40 +0200)]
Add LIBUTIL for grub-mkrelpath and grub-fstest. Fixes build on NetBSD.
Grégoire Sutre [Sat, 17 Sep 2011 21:01:48 +0000 (23:01 +0200)]
Get sector size from disk label for NetBSD.
Szymon Janc [Tue, 6 Sep 2011 19:21:13 +0000 (21:21 +0200)]
* grub-core/io/lzopio.c (test_header): Some cleanups.
Colin Watson [Mon, 5 Sep 2011 12:58:33 +0000 (13:58 +0100)]
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for
*/README* as well as README*.
Reported by: Axel Beckert.
Szymon Janc [Wed, 24 Aug 2011 09:24:10 +0000 (11:24 +0200)]
* grub-core/fs/btrfs.c: Some minor cleanups.
Szymon Janc [Tue, 23 Aug 2011 17:53:49 +0000 (19:53 +0200)]
* Makefile.util.def (libgrubmods.a): Add grub-core/io/lzopio.c to
common.
Szymon Janc [Tue, 23 Aug 2011 17:49:01 +0000 (19:49 +0200)]
* grub-core/fs/btrfs.c (grub_btrfs_lzo_decompress): Random fixes and some
cleanup.
Vladimir 'phcoder' Serbinenko [Tue, 23 Aug 2011 09:20:56 +0000 (11:20 +0200)]
* grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the
case of less than 256 MiB of RAM.
Vladimir 'phcoder' Serbinenko [Tue, 23 Aug 2011 09:19:26 +0000 (11:19 +0200)]
* grub-core/commands/wildcard.c (make_regex): Handle @.
Vladimir 'phcoder' Serbinenko [Tue, 23 Aug 2011 09:18:00 +0000 (11:18 +0200)]
* util/grub-install.in: Move cryptodisk logic to appropriate place.
Szymon Janc [Mon, 22 Aug 2011 07:18:22 +0000 (09:18 +0200)]
* include/grub/file.h (grub_file_filter_id): Set
GRUB_FILE_FILTER_LZOPIO as GRUB_FILE_FILTER_COMPRESSION_LAST.
Szymon Janc [Sun, 21 Aug 2011 16:48:19 +0000 (18:48 +0200)]
Various bug fixes and improvements in lzopio. Should properly handle more
files now. Also added support for lzop checksums verification.
Szymon Janc [Sun, 21 Aug 2011 12:49:07 +0000 (14:49 +0200)]
Return correct adler32 value in read() call.
Szymon Janc [Sat, 20 Aug 2011 19:10:00 +0000 (21:10 +0200)]
* acinclude.m4: Use AC_LANG_PROGRAM macro to generate source code for
AC_LANG_CONFTEST macros.
Szymon Janc [Sat, 20 Aug 2011 18:21:36 +0000 (20:21 +0200)]
merge trunk
Szymon Janc [Sat, 20 Aug 2011 16:24:54 +0000 (18:24 +0200)]
Add support for adler32 checksuming.
* grub-core/lib/adler32.c: New file.
* Makefile.util.def (library): Add grub-core/lib/adler32.c to common.
* util/import_gcry.py (cryptolist): Add adler32.
Szymon Janc [Sat, 20 Aug 2011 11:04:38 +0000 (13:04 +0200)]
Add grub-fstest option to uncompress data for commands.
* util/grub-fstest.c (uncompress): New var.
(options): New option -u.
Szymon Janc [Sat, 20 Aug 2011 10:02:35 +0000 (12:02 +0200)]
merge trunk
Szymon Janc [Sat, 20 Aug 2011 09:58:41 +0000 (11:58 +0200)]
* grub-core/loader/i386/linux.c (grub_linux_setup_video): Add
GRUB_VIDEO_DRIVER_RADEON_FULOONG2E to switch case statement.
Szymon Janc [Sat, 20 Aug 2011 09:48:46 +0000 (11:48 +0200)]
* grub-core/io/gzio.c (grub_gzio_open): Always return original io if
file type was not recognized correctly (not gzip or corrupted).
Szymon Janc [Sat, 20 Aug 2011 07:49:15 +0000 (09:49 +0200)]
merge trunk
Szymon Janc [Sat, 20 Aug 2011 00:05:08 +0000 (02:05 +0200)]
More work on LZO for btrfs support. Some fixes and code refactoring.
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 21:11:09 +0000 (23:11 +0200)]
* grub-core/kern/mips/loongson/init.c (grub_reboot): Reboot Fuloong.
* include/grub/cs5536.h (GRUB_CS5536_MSR_DIVIL_RESET): New definition.
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 21:08:36 +0000 (23:08 +0200)]
* grub-core/Makefile.core.def (kernel): Add video/radeon_fuloong2e.c on
loongson.
* grub-core/kern/mips/loongson/init.c (grub_machine_init): Init
video_radeon_fuloong2e.
* grub-core/video/radeon_fuloong2e.c: New file.
* include/grub/video.h (grub_video_id_t): Add new ID
GRUB_VIDEO_DRIVER_RADEON_FULOONG2E.
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 21:04:18 +0000 (23:04 +0200)]
* include/grub/mips/loongson.h (GRUB_CPU_LOONGSON_COP0_PRID): New
define.
* grub-core/kern/mips/loongson/init.c (grub_machine_init): Check
that PRID matches the detected subplatform and reset the subplatform
if it doesn't.
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 20:59:24 +0000 (22:59 +0200)]
* grub-core/kern/misc.c (grub_vprintf): Fix a bug on malloc failure.
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 20:56:49 +0000 (22:56 +0200)]
Fix PCI iterating on functions >= 4.
* grub-core/bus/pci.c (grub_pci_iterate): Remove useless ghost skipping.
* include/grub/mips/loongson/pci.h (GRUB_LOONGSON_OHCI_GHOST_FUNCTION):
Removed.
(GRUB_LOONGSON_EHCI_GHOST_FUNCTION): Likewise.
(grub_pci_read): Fix bitmask.
(grub_pci_read_word): Likewise.
(grub_pci_read_byte): Likewise.
(grub_pci_write): Likewise.
(grub_pci_write_word): Likewise.
(grub_pci_write_byte): Likewise.
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 20:49:48 +0000 (22:49 +0200)]
* configure.ac: Don't impose march=loongson2f on loongson platform. (It
can still be specified in TARGET_CFLAGS)
Vladimir 'phcoder' Serbinenko [Fri, 19 Aug 2011 20:46:11 +0000 (22:46 +0200)]
Rename Fuloong into Fuloong 2F. Add new ID for Fuloong2E.
* grub-core/Makefile.core.def (fwstart_fuloong): Rename fwstart_fuloong
into fwstart_fuloong2f. Use boot/mips/loongson/fuloong2f.S.
* grub-core/boot/mips/loongson/fuloong.S: Rename to ...
* grub-core/boot/mips/loongson/fuloong2f.S: ... this.
(FULOONG): Rename to ...
(FULOONG2F): ... this. All users updated.
* grub-core/boot/mips/startup_raw.S (machtype_fuloong_str): Rename to
(machtype_fuloong2f_str): ... this.
(machtype_fuloong2e_str): New string.
Check for machtype_fuloong2e_str.
* grub-core/loader/mips/linux.c (loongson_machtypes)
[GRUB_MACHINE_MIPS_LOONGSON]: Add GRUB_ARCH_MACHINE_FULOONG2E.
* grub-core/term/serial.c (loongson_defserial)
[GRUB_MACHINE_MIPS_LOONGSON]: New array.
(grub_serial_register) [GRUB_MACHINE_MIPS_LOONGSON]: Use
loongson_defserial.
* include/grub/mips/loongson/kernel.h (GRUB_ARCH_MACHINE_FULOONG):
Rename to ...
(GRUB_ARCH_MACHINE_FULOONG2F): ... this.
(GRUB_ARCH_MACHINE_FULOONG2E): New const.
* util/grub-mkimage.c (image_target_desc): Rename IMAGE_FULOONG_FLASH
to IMAGE_FULOONG2F_FLASH. All users updated.
(image_targets): Rename images.
* util/grub-mkstandalone.in: Accept fuloong2f and fuloong2e.
Szymon Janc [Fri, 19 Aug 2011 19:28:09 +0000 (21:28 +0200)]
Make enable of disk cache statistics code configurable.
* configure.ac: --enable-cache-stats added.
* config.h.in (DISK_CACHE_STATS): New define.
* grub-core/Makefile.core.def (cacheinfo): New command.
* include/grub/disk.h(grub_disk_cache_get_performance): New function.
* grub-core/commands/cacheinfo.c: New file.
* grub-core/commands/minicmd.c (grub_rescue_cmd_info): Updated and
moved to cacheinfo.c.
* grub-core/kern/disk.c: Use DISK_CACHE_STATS to disable disk cache
debug code.
* include/grub/disk.h: Likewise.
Szymon Janc [Fri, 19 Aug 2011 18:06:42 +0000 (20:06 +0200)]
* Makefile.am (AUTOMAKE_OPTIONS): = Added -Wno-portability flag.
* grub-core/Makefile.am: Likewise.
Szymon Janc [Fri, 19 Aug 2011 15:24:18 +0000 (17:24 +0200)]
* configure.ac: Fixed typo in --enable-cache-stats description.
Szymon Janc [Wed, 17 Aug 2011 17:40:25 +0000 (19:40 +0200)]
Add initial support for lzop files decompression.
* grub-core/Makefile.core.def (lzopio): New module.
* grub-core/io/lzopio.c: New file.
* include/grub/file.h (grub_file_filter_id): New compression filter
GRUB_FILE_FILTER_LZOPIO.
Vladimir 'phcoder' Serbinenko [Tue, 16 Aug 2011 21:12:20 +0000 (23:12 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with
non-zero pull.
Vladimir 'phcoder' Serbinenko [Tue, 16 Aug 2011 21:10:38 +0000 (23:10 +0200)]
* grub-core/fs/jfs.c (grub_jfs_read_file): New parameter ino.
All users updated.
(grub_jfs_lookup_symlink): Use correct starting inode.
Vladimir 'phcoder' Serbinenko [Tue, 16 Aug 2011 14:19:06 +0000 (16:19 +0200)]
* util/grub-setup.c (main): Add missing gcry initialisation.
Vladimir 'phcoder' Serbinenko [Tue, 16 Aug 2011 14:11:10 +0000 (16:11 +0200)]
Don't accept text modes on EFI when booting Linux.
* grub-core/loader/i386/linux.c (ACCEPTS_PURE_TEXT): New define.
(grub_linux_boot) [!ACCEPTS_PURE_TEXT]: Restrict to graphics modes.
Mario Limonciello [Mon, 15 Aug 2011 22:30:11 +0000 (23:30 +0100)]
* util/grub-probe.c (probe): Canonicalise the path argument, fixing
use of "/path/.." as in grub-install for EFI as well as handling
symlinks correctly.
Fixes Debian bug #637768.
Colin Watson [Mon, 15 Aug 2011 22:21:29 +0000 (23:21 +0100)]
* util/grub-probe.c: Remove duplicate #include.
Szymon Janc [Sun, 14 Aug 2011 09:46:05 +0000 (11:46 +0200)]
Add support for LZO compression in btrfs.
* Makefile.util.def (libgrubmods.a): Add minilzo.c and add required flags
to cflags in cppflags.
* Makefile.core.def (btrfs): Likewise.
* grub-core/fs/btrfs.c: Include minilzo.h.
(grub_btrfs_superblock): Add sectorsize, nodesize, leafsize, stripsize and
dummy5 field.
(GRUB_BTRFS_COMPRESSION_LZO): New define.
(grub_btrfs_extent_read): Add support for LZO compression type.
Szymon Janc [Sun, 14 Aug 2011 09:42:53 +0000 (11:42 +0200)]
* grub-core/fs/btrfs.c: Some code style fixes.
Szymon Janc [Sun, 14 Aug 2011 09:41:19 +0000 (11:41 +0200)]
Add helper functions for easier unaligned memory access.
* include/grub/types.h (grub_get_unaligned16): New function.
(grub_get_unaligned32): Likewise.
(grub_get_unaligned64): Likewise.
Szymon Janc [Sun, 14 Aug 2011 09:39:31 +0000 (11:39 +0200)]
Import minilzo library for LZO decompression support.
* grub-core/lib/minilzo/lzoconf.h: New file.
* grub-core/lib/minilzo/lzodefs.h: Likewise.
* grub-core/lib/minilzo/minilzo.c: Likewise.
* grub-core/lib/minilzo/minilzo.h: Likewise.
* include/grub/types.h (GRUB_UCHAR_MAX): New define.
(GRUB_USHRT_MAX): Likewise.
(GRUB_UINT_MAX): Likewise.
* grub-core/lib/posix_wrap/limits.h (USHRT_MAX): New define.
(UINT_MAX): Likewise.
(CHAR_BIT): Likewise.
* grub-core/lib/posix_wrap/sys/types.h (ULONG_MAX): Moved to
grub-core/lib/posix_wrap/limits.h
(UCHAR_MAX): Likewise.
Szymon Janc [Sat, 13 Aug 2011 13:00:48 +0000 (15:00 +0200)]
merge trunk
Robert Millan [Wed, 10 Aug 2011 20:24:02 +0000 (22:24 +0200)]
2011-08-10 Robert Millan <rmh@gnu.org>
Detect LSI MegaRAID SAS (`mfi') devices on GNU/kFreeBSD.
* util/deviceiter.c [__FreeBSD_kernel__] (get_mfi_disk_name): New
function.
[__FreeBSD_kernel__] (grub_util_iterate_devices): Scan for mfi
(/dev/mfid[0-9]+) devices using get_mfi_disk_name().
Robert Millan [Wed, 3 Aug 2011 11:30:46 +0000 (13:30 +0200)]
2011-08-03 Robert Millan <rmh@gnu.org>
* include/grub/zfs/zap_leaf.h (typedef union zap_leaf_chunk): Mark
la_array as packed.
Reported by: Zachary Bedell
Colin Watson [Tue, 26 Jul 2011 15:19:47 +0000 (16:19 +0100)]
* configure.ac: The Loongson port requires grub-mkfont due to its
use of -DUSE_ASCII_FAILBACK. Raise an error if it is not going to
be built.
Colin Watson [Tue, 26 Jul 2011 10:59:47 +0000 (11:59 +0100)]
* util/grub-install.in: Don't source grub-mkconfig_lib until after
processing arguments (otherwise help2man fails when GRUB has not yet
been installed).
Vladimir 'phcoder' Serbinenko [Mon, 25 Jul 2011 06:19:30 +0000 (08:19 +0200)]
New script grub-mkstandalone.
* Makefile.util.def (grub-mkstandalone): New script.
* docs/man/grub-mkstandalone.h2m: New file.
* util/grub-mkstandalone.in: Likewise.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jul 2011 06:14:34 +0000 (08:14 +0200)]
Support ATA disks with 4K sectors.
* include/grub/ata.h (grub_ata): New member log_sector_size.
* grub-core/disk/ata.c (grub_ata_dumpinfo): Show sector size.
(grub_ata_identify): Read sector size.
(grub_ata_readwrite): Use log_sector_size rather than hardcoded value.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jul 2011 06:06:20 +0000 (08:06 +0200)]
* util/grub-install.in: Don't use uhci outside of x86.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jul 2011 05:57:29 +0000 (07:57 +0200)]
* util/grub-mkrescue.in: Add missing quotes.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jul 2011 05:48:19 +0000 (07:48 +0200)]
* grub-core/normal/menu.c (grub_menu_execute_entry): Fix NULL
dereference.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 16:18:14 +0000 (18:18 +0200)]
* grub-core/disk/pata.c (grub_pata_readwrite): Add missing wait.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 15:18:31 +0000 (17:18 +0200)]
* include/grub/video.h: add missing EXPORT_FUND on
grub_video_edid_checksum and grub_video_edid_preferred_mode.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 15:14:38 +0000 (17:14 +0200)]
* include/grub/mips/kernel.h: Fix define conflict.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 14:44:40 +0000 (16:44 +0200)]
* grub-core/kern/mips/cache_flush.S [GRUB_MACHINE_MIPS_LOONGSON]: Flush
all four ways.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 01:49:02 +0000 (03:49 +0200)]
First attempt at http
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 01:48:10 +0000 (03:48 +0200)]
Fix TCP retransmission
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 01:47:10 +0000 (03:47 +0200)]
Remove useless include in tftp
Colin Watson [Thu, 21 Jul 2011 18:46:44 +0000 (19:46 +0100)]
Preferred resolution detection for VBE.
* grub-core/video/video.c (grub_video_edid_checksum): New function.
(grub_video_edid_preferred_mode): Likewise. Try EDID followed by
the Flat Panel extension, in line with the X.org VESA driver.
* grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_flat_panel_info):
New function.
(grub_vbe_bios_get_ddc_capabilities): Likewise.
(grub_vbe_bios_read_edid): Likewise.
(grub_vbe_get_preferred_mode): Likewise.
(grub_video_vbe_setup): When the mode is "auto", try to get the
preferred mode from VBE, and use the largest mode that is no larger
than the preferred mode (some BIOSes expose a preferred mode that is
not in their mode list!). If this fails, fall back to 640x480 as a
safe conservative choice.
(grub_video_vbe_get_edid): New function.
(grub_video_vbe_adapter): Add get_edid.
* include/grub/video.h (struct grub_vbe_edid_info): New structure.
(struct grub_video_adapter): Add get_edid.
(grub_video_edid_checksum): Add prototype.
(grub_video_edid_preferred_mode): Likewise.
* include/grub/i386/pc/vbe.h (struct grub_vbe_flat_panel_info): New
structure.
* grub-core/commands/videoinfo.c (print_edid): New function.
(grub_cmd_videoinfo): Print EDID if available.
* util/grub.d/00_header.in (GRUB_GFXMODE): Default to "auto". This
is more appropriate on a wider range of platforms than 640x480.
* docs/grub.texi (Simple configuration): Update GRUB_GFXMODE
documentation.
Vladimir 'phcoder' Serbinenko [Sun, 10 Jul 2011 21:37:28 +0000 (23:37 +0200)]
TCP listening support