]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
13 years agoHopefully fix EFI problem. Not tested
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:33:36 +0000 (23:33 +0200)] 
Hopefully fix EFI problem. Not tested

13 years agoFix compilation on 64-bit targets
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:19:11 +0000 (23:19 +0200)] 
Fix compilation on 64-bit targets

13 years agoRemove leftover variabel
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:18:44 +0000 (23:18 +0200)] 
Remove leftover variabel

13 years agoput license on priority_queue
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 21:18:22 +0000 (23:18 +0200)] 
put license on priority_queue

13 years agoIPv6 support. Several fixes and unifications
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 20:15:30 +0000 (22:15 +0200)] 
IPv6 support. Several fixes and unifications

13 years agoDon't set RST in response to empty packets
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 15:50:52 +0000 (17:50 +0200)] 
Don't set RST in response to empty packets

13 years agoHTTP seek support. Various bugfixes.
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 15:39:13 +0000 (17:39 +0200)] 
HTTP seek support. Various bugfixes.

13 years agomerge mainline into net
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 11:32:40 +0000 (13:32 +0200)] 
merge mainline into net

13 years ago * grub-core/Makefile.core.def: Eliminate rarely used emu_condition. This
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.

13 years agoFix warning on i386-pc
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 08:22:23 +0000 (10:22 +0200)] 
Fix warning on i386-pc

13 years agoAdd network functions for grub-menulst2cfg
Vladimir 'phcoder' Serbinenko [Wed, 5 Oct 2011 08:21:32 +0000 (10:21 +0200)] 
Add network functions for grub-menulst2cfg

13 years ago* grub-core/io/lzopio.c (calculate_uncompressed_size): Fix return code.
Szymon Janc [Tue, 4 Oct 2011 19:10:21 +0000 (21:10 +0200)] 
* grub-core/io/lzopio.c (calculate_uncompressed_size): Fix return code.

13 years agomerge trunk
Szymon Janc [Tue, 4 Oct 2011 18:21:12 +0000 (20:21 +0200)] 
merge trunk

13 years ago* grub-core/Makefile.core.def (btrfs): Remove minilzo.c from common.
Szymon Janc [Mon, 3 Oct 2011 21:01:14 +0000 (23:01 +0200)] 
* grub-core/Makefile.core.def (btrfs): Remove minilzo.c from common.

13 years ago* grub-core/fs/btrfs.c: Include <minilzo.h> instead of "minilzo.h".
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.

13 years ago* grub-core/io/lzopio.c: Improve crypt context alignment.
Szymon Janc [Mon, 3 Oct 2011 20:06:10 +0000 (22:06 +0200)] 
* grub-core/io/lzopio.c: Improve crypt context alignment.

13 years ago* grub-core/fs/btrfs.c: Fix code style regressions.
Szymon Janc [Mon, 3 Oct 2011 19:50:32 +0000 (21:50 +0200)] 
* grub-core/fs/btrfs.c: Fix code style regressions.

13 years agoSome CS5536 code
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 20:51:12 +0000 (22:51 +0200)] 
Some CS5536 code

13 years agoDisable SMI on OS ownership failure
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 20:01:31 +0000 (22:01 +0200)] 
Disable SMI on OS ownership failure

13 years agoSeveral small fixes
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:53:43 +0000 (21:53 +0200)] 
Several small fixes

13 years agoUse map range
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:42:44 +0000 (21:42 +0200)] 
Use map range

13 years agoMove p2v and v2p to pci.h
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:37:02 +0000 (21:37 +0200)] 
Move p2v and v2p to pci.h

13 years agoFix p2v and v2p
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:31:53 +0000 (21:31 +0200)] 
Fix p2v and v2p

13 years ago@Rock changes - fixed coreboot problem
starous [Sat, 1 Oct 2011 19:27:29 +0000 (21:27 +0200)] 
@Rock changes - fixed coreboot problem

13 years agoRemove packed attribute.
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:14:03 +0000 (21:14 +0200)] 
Remove packed attribute.

13 years agoFix link_td to use grub_uint32_t and not the pointer type
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

13 years agorun indent on ehci.c
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:04:17 +0000 (21:04 +0200)] 
run indent on ehci.c

13 years agoReplace #define with enum
Vladimir 'phcoder' Serbinenko [Sat, 1 Oct 2011 19:03:03 +0000 (21:03 +0200)] 
Replace #define with enum

13 years agoEHCI implementation by Aleš Nesrsta.
Aleš Nesrsta [Sat, 1 Oct 2011 18:18:47 +0000 (20:18 +0200)] 
EHCI implementation by Aleš Nesrsta.

13 years ago * gentpl.py: Use Autogen macros so that the output template file
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.

13 years ago * grub-core/Makefile.core.def (kernel): Add kern/i386/int.S to
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.

13 years ago * util/misc.c (grub_util_get_disk_size) [__MINGW32__]: Strip trailing
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.

13 years ago * grub-core/kern/emu/misc.c (canonicalize_file_name) [__MINGW32__]: Use
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.

13 years ago Remove extra declaration of sleep for mingw32.
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.

13 years agoMake knetbsd pass bootinfo bootdisk and bootwedge.
Grégoire Sutre [Wed, 28 Sep 2011 21:45:57 +0000 (23:45 +0200)] 
Make knetbsd pass bootinfo bootdisk and bootwedge.

13 years ago * grub-core/loader/multiboot_elfxx.c (Elf_Shdr): Set according to
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.

13 years ago Fix incorrect identifiers in bash-completion.
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.

13 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy):
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.

13 years agoAdd LIBUTIL for grub-mkrelpath and grub-fstest. Fixes build on NetBSD.
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.

13 years agoGet sector size from disk label for NetBSD.
Grégoire Sutre [Sat, 17 Sep 2011 21:01:48 +0000 (23:01 +0200)] 
Get sector size from disk label for NetBSD.

14 years ago* grub-core/io/lzopio.c (test_header): Some cleanups.
Szymon Janc [Tue, 6 Sep 2011 19:21:13 +0000 (21:21 +0200)] 
* grub-core/io/lzopio.c (test_header): Some cleanups.

14 years ago* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for
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.

14 years ago* grub-core/fs/btrfs.c: Some minor cleanups.
Szymon Janc [Wed, 24 Aug 2011 09:24:10 +0000 (11:24 +0200)] 
* grub-core/fs/btrfs.c: Some minor cleanups.

14 years ago* Makefile.util.def (libgrubmods.a): Add grub-core/io/lzopio.c to
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.

14 years ago* grub-core/fs/btrfs.c (grub_btrfs_lzo_decompress): Random fixes and some
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.

14 years ago * grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the
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.

14 years ago * grub-core/commands/wildcard.c (make_regex): Handle @.
Vladimir 'phcoder' Serbinenko [Tue, 23 Aug 2011 09:19:26 +0000 (11:19 +0200)] 
* grub-core/commands/wildcard.c (make_regex): Handle @.

14 years ago * util/grub-install.in: Move cryptodisk logic to appropriate place.
Vladimir 'phcoder' Serbinenko [Tue, 23 Aug 2011 09:18:00 +0000 (11:18 +0200)] 
* util/grub-install.in: Move cryptodisk logic to appropriate place.

14 years ago* include/grub/file.h (grub_file_filter_id): Set
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.

14 years agoVarious bug fixes and improvements in lzopio. Should properly handle more
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.

14 years agoReturn correct adler32 value in read() call.
Szymon Janc [Sun, 21 Aug 2011 12:49:07 +0000 (14:49 +0200)] 
Return correct adler32 value in read() call.

14 years ago* acinclude.m4: Use AC_LANG_PROGRAM macro to generate source code for
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.

14 years agomerge trunk
Szymon Janc [Sat, 20 Aug 2011 18:21:36 +0000 (20:21 +0200)] 
merge trunk

14 years agoAdd support for adler32 checksuming.
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.

14 years agoAdd grub-fstest option to uncompress data for commands.
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.

14 years agomerge trunk
Szymon Janc [Sat, 20 Aug 2011 10:02:35 +0000 (12:02 +0200)] 
merge trunk

14 years ago* grub-core/loader/i386/linux.c (grub_linux_setup_video): Add
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.

14 years ago* grub-core/io/gzio.c (grub_gzio_open): Always return original io if
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).

14 years agomerge trunk
Szymon Janc [Sat, 20 Aug 2011 07:49:15 +0000 (09:49 +0200)] 
merge trunk

14 years agoMore work on LZO for btrfs support. Some fixes and code refactoring.
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.

14 years ago * grub-core/kern/mips/loongson/init.c (grub_reboot): Reboot Fuloong.
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.

14 years ago * grub-core/Makefile.core.def (kernel): Add video/radeon_fuloong2e.c on
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.

14 years ago * include/grub/mips/loongson.h (GRUB_CPU_LOONGSON_COP0_PRID): New
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.

14 years ago * grub-core/kern/misc.c (grub_vprintf): Fix a bug on malloc failure.
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.

14 years ago Fix PCI iterating on functions >= 4.
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.

14 years ago * configure.ac: Don't impose march=loongson2f on loongson platform. (It
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)

14 years ago Rename Fuloong into Fuloong 2F. Add new ID for Fuloong2E.
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.

14 years agoMake enable of disk cache statistics code configurable.
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.

14 years ago* Makefile.am (AUTOMAKE_OPTIONS): = Added -Wno-portability flag.
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.

14 years ago* configure.ac: Fixed typo in --enable-cache-stats description.
Szymon Janc [Fri, 19 Aug 2011 15:24:18 +0000 (17:24 +0200)] 
* configure.ac: Fixed typo in --enable-cache-stats description.

14 years agoAdd initial support for lzop files decompression.
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.

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with
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.

14 years ago * grub-core/fs/jfs.c (grub_jfs_read_file): New parameter ino.
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.

14 years ago * util/grub-setup.c (main): Add missing gcry initialisation.
Vladimir 'phcoder' Serbinenko [Tue, 16 Aug 2011 14:19:06 +0000 (16:19 +0200)] 
* util/grub-setup.c (main): Add missing gcry initialisation.

14 years ago Don't accept text modes on EFI when booting Linux.
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.

14 years ago* util/grub-probe.c (probe): Canonicalise the path argument, fixing
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.

14 years ago* util/grub-probe.c: Remove duplicate #include.
Colin Watson [Mon, 15 Aug 2011 22:21:29 +0000 (23:21 +0100)] 
* util/grub-probe.c: Remove duplicate #include.

14 years agoAdd support for LZO compression in btrfs.
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.

14 years ago* grub-core/fs/btrfs.c: Some code style fixes.
Szymon Janc [Sun, 14 Aug 2011 09:42:53 +0000 (11:42 +0200)] 
* grub-core/fs/btrfs.c: Some code style fixes.

14 years agoAdd helper functions for easier unaligned memory access.
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.

14 years agoImport minilzo library for LZO decompression support.
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.

14 years agomerge trunk
Szymon Janc [Sat, 13 Aug 2011 13:00:48 +0000 (15:00 +0200)] 
merge trunk

14 years ago2011-08-10 Robert Millan <rmh@gnu.org>
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().

14 years ago2011-08-03 Robert Millan <rmh@gnu.org>
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

14 years ago* configure.ac: The Loongson port requires grub-mkfont due to its
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.

14 years ago* util/grub-install.in: Don't source grub-mkconfig_lib until after
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).

14 years ago New script grub-mkstandalone.
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.

14 years ago Support ATA disks with 4K sectors.
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.

14 years ago * util/grub-install.in: Don't use uhci outside of x86.
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.

14 years ago * util/grub-mkrescue.in: Add missing quotes.
Vladimir 'phcoder' Serbinenko [Mon, 25 Jul 2011 05:57:29 +0000 (07:57 +0200)] 
* util/grub-mkrescue.in: Add missing quotes.

14 years ago * grub-core/normal/menu.c (grub_menu_execute_entry): Fix NULL
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.

14 years ago * grub-core/disk/pata.c (grub_pata_readwrite): Add missing wait.
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.

14 years ago * include/grub/video.h: add missing EXPORT_FUND on
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.

14 years ago * include/grub/mips/kernel.h: Fix define conflict.
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 15:14:38 +0000 (17:14 +0200)] 
* include/grub/mips/kernel.h: Fix define conflict.

14 years ago * grub-core/kern/mips/cache_flush.S [GRUB_MACHINE_MIPS_LOONGSON]: Flush
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.

14 years agoFirst attempt at http
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 01:49:02 +0000 (03:49 +0200)] 
First attempt at http

14 years agoFix TCP retransmission
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 01:48:10 +0000 (03:48 +0200)] 
Fix TCP retransmission

14 years agoRemove useless include in tftp
Vladimir 'phcoder' Serbinenko [Sat, 23 Jul 2011 01:47:10 +0000 (03:47 +0200)] 
Remove useless include in tftp

14 years agoPreferred resolution detection for VBE.
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.

14 years agoTCP listening support
Vladimir 'phcoder' Serbinenko [Sun, 10 Jul 2011 21:37:28 +0000 (23:37 +0200)] 
TCP listening support