- Jan 15, 2010
-
-
Robert Millan authored
-
Robert Millan authored
-
Robert Millan authored
- Includes savedefault / grub-reboot branch.
-
Vladimir 'phcoder' Serbinenko authored
Video multiboot support. * include/grub/multiboot.h (grub_multiboot_set_accepts_video): New prototype. * include/multiboot.h: Resynced with multiboot specification. * include/multiboot2.h: Likewise. * loader/i386/multiboot.c (UNSUPPORTED_FLAGS): Support video flags. (grub_multiboot): Parse MULTIBOOT_VIDEO_MODE fields. * loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): New constant. (HAS_VGA_TEXT): Likewise. (accepts_video): New variable. (grub_multiboot_set_accepts_video): New function. (grub_multiboot_get_mbi_size): Account for video structures. (set_video_mode): New function. (retrieve_video_parameters): Likewise. (grub_multiboot_make_mbi): Fill video fields.
-
Vladimir 'phcoder' Serbinenko authored
Video driver ids. * include/grub/video.h (grub_video_driver_id): New type. (grub_video_adapter): New member 'id'. All users updated. (grub_video_get_driver_id): New proto. * video/video.c (grub_video_get_driver_id): New function.
-
- Jan 14, 2010
-
-
carles authored
* util/grub.d/30_os-prober.in: Use `set var=val' rather than plain `var=val'.
-
carles authored
* normal/cmdline.c (print_completion): Gettextizze.
-
carles authored
* loader/i386/pc/chainloader.c: Include `<grub/mm.h>'.
-
carles authored
* gettext/gettext.c (grub_gettext_translate): Push and pop grub_errno. (grub_gettext_delete_list): Change comment style. * kern/err.c (grub_error): Gettextizze. (grub_fatal): Gettextizze.
-
Robert Millan authored
* include/grub/i386/loader.h (grub_linux16_boot): Renamed to ... (grub_linux16_real_boot): ... this. * kern/i386/loader.S: Likewise. * loader/i386/pc/linux.c: Include `<grub/video.h>' and `<grub/mm.h>'. (grub_linux16_boot): New function. Switches to text mode and calls grub_linux16_real_boot(). * loader/i386/bsd.c: Include `<grub/video.h>'. (grub_freebsd_boot, grub_openbsd_boot, grub_netbsd_boot): Switch to text mode before calling grub_unix_real_boot(). * loader/i386/multiboot.c: Include `<grub/video.h>'. (grub_multiboot_boot): Switch to text mode before calling grub_relocator32_boot(). * loader/i386/pc/chainloader.c: Include `<grub/video.h>'. (grub_chainloader_boot): Switch to text mode before calling grub_chainloader_real_boot().
-
Robert Millan authored
2010-01-05 Colin Watson <cjwatson@ubuntu.com> * util/grub-reboot.in: Make sure prev_saved_entry always gets a non-empty value.
-
Colin Watson authored
-
Colin Watson authored
-
BVK Chaitanya authored
Unit testing framework for GRUB. * Makefile.in: Test framework build rules for 'make check'. * conf/tests.rmk: Build rules for individual tests and framework. * include/grub/test.h: Header file for whitebox tests. * tests/lib/functional_test.c: Framework support for whitebox functional tests. * tests/lib/test.c: Common whitebox testing code for unit and functional tests. * tests/lib/unit_test.c: Framework support for whitebox unit tests. * tests/util/grub-shell-tester.in: Support utility for grub-script tests. * tests/util/grub-shell.in: Utility to execute grub-script commands in a Qemu instance. * tests/example_functional_test.c: Example whitebox functional test. * tests/example_grub_script_test.in: Example grub-script test. * tests/example_scripted_test.in: Example scripted test. * tests/example_unit_test.c: Example whitebox unit test.
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
Vladimir 'phcoder' Serbinenko authored
* conf/i386-coreboot.rmk (multiboot_mod_SOURCES): Add loader/i386/multiboot_mbi.c. (multiboot2_mod_SOURCES): Likewise. * conf/i386-pc.rmk (multiboot_mod_SOURCES): Likewise. (multiboot2_mod_SOURCES): Likewise. * include/grub/multiboot.h (grub_multiboot_get_mbi_size): New proto. (grub_multiboot_make_mbi): Likewise. (grub_multiboot_free_mbi): Likewise. (grub_multiboot_init_mbi): Likewise. (grub_multiboot_add_module): Likewise. (grub_multiboot_set_bootdev): Likewise. * loader/i386/multiboot.c (mbi): Removed. (mbi_dest): Likewise. (alloc_mbi): New variable. (grub_multiboot_payload_size): Removed. All users updated. (grub_multiboot_pure_size): New variable. (grub_multiboot_boot): Use grub_multiboot_make_mbi. (grub_multiboot_unload): Use grub_multiboot_free_mbi. (grub_get_multiboot_mmap_len): Moved to loader/i386/multiboot_mbi.c. (grub_fill_multiboot_mmap): Likewise. (grub_multiboot_get_bootdev): Likewise. (grub_multiboot): Use multiboot_mbi functions. * loader/i386/multiboot_mbi.c: New file.
-
Vladimir 'phcoder' Serbinenko authored
-
- Jan 13, 2010
-
-
Vladimir 'phcoder' Serbinenko authored
* kern/efi/init.c (grub_efi_fini): Don't call grub_efi_mm_fini as it would result in module crash.
-
Vladimir 'phcoder' Serbinenko authored
* term/ieee1275/ofconsole.c (grub_ofconsole_putchar): Handle '\r'. (grub_ofconsole_getwh): Split to ... (grub_ofconsole_getwh): ... this. (grub_ofconsole_dimensions): ...and this. (grub_ofconsole_init_output): Call grub_ofconsole_dimensions.
-
Robert Millan authored
* util/mkisofs/rock.c (generate_rock_ridge_attributes): Fix a typo.
-
- Jan 12, 2010
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
* loader/i386/pc/multiboot2.c: Removed stalled file.
-
Vladimir 'phcoder' Serbinenko authored
* util/grub-mkpasswd-pbkdf2.c (main): Use grub_util_init_nls. Reported by: Grégoire Sutre
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
BVK Chaitanya authored
-
- Jan 11, 2010
-
-
Robert Millan authored
* util/misc.c (canonicalize_file_name): New function. (make_system_path_relative_to_its_root): Use canonicalize_file_name() instead of realpath().
-
Colin Watson authored
* util/grub-install.in (usage): Clarify meaning of --root-directory, and make it clearer that it's optional. Based on confusion witnessed on IRC.
-
Felix Zielcke authored
-
- Jan 10, 2010
-
-
Vladimir 'phcoder' Serbinenko authored
* term/i386/pc/vga_text.c (inc_y): Fix off-by-one error which resulted in premature implicit newline.
-
Vladimir 'phcoder' Serbinenko authored
* normal/cmdline.c (grub_cmdline_get): Fix off-by-one error which resulted in garbled command line at the end of screen.
-
Vladimir 'phcoder' Serbinenko authored
-
Robert Millan authored
-
Robert Millan authored
* loader/i386/ieee1275/linux.c (grub_linux_boot): Rework video position initialization with similar approach as with other Linux loaders.
-
Robert Millan authored
-