mirror of
https://git.proxmox.com/git/grub2
synced 2026-03-26 17:02:41 +00:00
Reset Multiboot 2 support. New loader implements the draft in /branches/multiboot2 and shares as much code as possible with the production Multiboot 1 implementation. * loader/ieee1275/multiboot2.c: Remove file. Update all users. * loader/multiboot2.c: Likewise. * loader/i386/multiboot_helper.S: Likewise. * include/multiboot2.h: Replace with latest version from the draft in /branches/multiboot2. * conf/i386-coreboot.rmk (multiboot_mod_SOURCES): Remove `loader/i386/multiboot_helper.S', `loader/i386/pc/multiboot2.c' and `loader/multiboot2.c'. (pkglib_MODULES): Add `multiboot2.mod'. (multiboot2_mod_SOURCES): New variable. (multiboot2_mod_LDFLAGS): Likewise. (multiboot2_mod_CFLAGS): Likewise. Define `GRUB_USE_MULTIBOOT2'. * conf/i386-pc.rmk: Likewise. * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'. (multiboot_mod_SOURCES): Remove variable. (multiboot_mod_LDFLAGS): Likewise. (multiboot_mod_CFLAGS): Likewise. * include/grub/multiboot.h [GRUB_USE_MULTIBOOT2]: Include `<multiboot2.h>' instead of `<multiboot.h>'. [GRUB_USE_MULTIBOOT2] (MULTIBOOT_BOOTLOADER_MAGIC) (MULTIBOOT_HEADER_MAGIC): New macros. * loader/multiboot_loader.c (module_version_status): Remove variable. (find_multi_boot2_header): Remove function. (grub_cmd_multiboot_loader): Remove Multiboot 2 / Multiboot 1 selection logic. Always check for the Multiboot version we're compiling for. (grub_cmd_module_loader): Likewise. [GRUB_USE_MULTIBOOT2] (GRUB_MOD_INIT(multiboot)): Register `multiboot2' command instead of `multiboot'. |
||
|---|---|---|
| boot | ||
| bus | ||
| commands | ||
| conf | ||
| disk | ||
| docs | ||
| efiemu | ||
| font | ||
| fs | ||
| gettext | ||
| gnulib | ||
| hello | ||
| hook | ||
| include | ||
| io | ||
| kern | ||
| lib | ||
| loader | ||
| mmap | ||
| normal | ||
| partmap | ||
| parttool | ||
| po | ||
| script | ||
| term | ||
| util | ||
| video | ||
| .bzrignore | ||
| acinclude.m4 | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog | ||
| config.rpath | ||
| configure.ac | ||
| COPYING | ||
| gencmdlist.sh | ||
| gendistlist.sh | ||
| genfslist.sh | ||
| genhandlerlist.sh | ||
| geninit.sh | ||
| geninitheader.sh | ||
| genkernsyms.sh.in | ||
| genmk.rb | ||
| genmoddep.awk | ||
| genmodsrc.sh | ||
| genpartmaplist.sh | ||
| genparttoollist.sh | ||
| gensymlist.sh.in | ||
| genvideolist.sh | ||
| INSTALL | ||
| Makefile.in | ||
| mkinstalldirs | ||
| NEWS | ||
| README | ||
| THANKS | ||
| TODO | ||
This is GRUB 2, the second version of the GRand Unified Bootloader. GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more robust, more powerful, and more portable. See the file NEWS for a description of recent changes to GRUB 2. See the file INSTALL for instructions on how to build and install the GRUB 2 data and program files. Please visit the official web page of GRUB 2, for more information. The URL is <http://www.gnu.org/software/grub/grub.html>. For now, there is not much documentation yet. Please look at the GRUB Wiki <http://grub.enbug.org> for testing procedures.