grub2/include/grub
phcoder 3f3ec72b38 2009-06-21 Vladimir Serbinenko <phcoder@gmail.com>
Load BSD ELF modules

	* conf/i386-pc.rmk (bsd_mod_SOURCES): Add loader/i386/bsd32.c
	and loader/i386/bsd64.c
	* include/grub/i386/bsd.h (FREEBSD_MODTYPE_MODULE): Remove
	(FREEBSD_MODTYPE_ELF_MODULE): New definition
	(FREEBSD_MODTYPE_ELF_MODULE_OBJ): Likewise
	(grub_freebsd_load_elfmodule32): New declaration
	(grub_freebsd_load_elfmoduleobj64): Likewise
	(grub_freebsd_load_elf_meta32): Likewise
	(grub_freebsd_load_elf_meta64): Likewise
	(grub_freebsd_add_meta): Likewise
	(grub_freebsd_add_meta_module): Likewise
	* loader/i386/bsd.c (grub_freebsd_add_meta): Make global
	(grub_freebsd_add_meta_module): Likewise and move module-specific
	parts to grub_cmd_freebsd and grub_cmd_freebsd_module
	(grub_cmd_freebsd): Add elf-kernel specific parts
	based on grub_freebsd_add_meta_module
	(grub_cmd_freebsd_module): Add type parsing moved from
	grub_freebsd_add_meta_module
	(grub_cmd_freebsd_module_elf): New function
	(cmd_freebsd_module_elf): New variable
	(GRUB_MOD_INIT): Register freebsd_module_elf
	* loader/i386/bsd32.c: New file
	* loader/i386/bsd64.c: Likewise
	* loader/i386/bsdXX.c: Likewise
	* kern/elf.c (grub_elf32_load): Let hook decide which pheaders to load
	(grub_elf64_load): Likewise
	* include/grub/elfload.h (grub_elf32_load_hook_t): New parameter do_load
	All users updated
	(grub_elf64_load_hook_t): Likewise
2009-06-21 15:48:10 +00:00
..
efi remove all trailing whitespace 2009-06-10 21:04:23 +00:00
efiemu remove all trailing whitespace 2009-06-10 21:04:23 +00:00
i386 2009-06-21 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-21 15:48:10 +00:00
ieee1275 2009-06-10 Pavel Roskin <proski@gnu.org> 2009-06-10 23:25:10 +00:00
lib 2009-05-04 Pavel Roskin <proski@gnu.org> 2009-05-04 20:06:05 +00:00
powerpc 2009-06-10 Pavel Roskin <proski@gnu.org> 2009-06-10 18:26:50 +00:00
sparc64 2009-06-10 Pavel Roskin <proski@gnu.org> 2009-06-10 18:26:50 +00:00
util 2009-05-04 Robert Millan <rmh.grub@aybabtu.com> 2009-05-04 16:16:03 +00:00
x86_64 2009-05-17 Vladimir Serbinenko <phcoder@gmail.com> 2009-05-17 11:27:08 +00:00
acorn_filecore.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
acpi.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
aout.h Fix typos in ChangeLog and comments 2008-07-13 18:13:36 +00:00
ata.h 2009-02-14 Christian Franke <franke@computer.org> 2009-02-14 12:57:55 +00:00
autoefi.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
bitmap.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
boot.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
bufio.h 2008-08-01 Bean <bean123ch@gmail.com> 2008-08-01 04:06:55 +00:00
cache.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
command.h 2009-05-04 Pavel Roskin <proski@gnu.org> 2009-05-04 20:06:05 +00:00
datetime.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
device.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
disk.h 2009-06-18 Pavel Roskin <proski@gnu.org> 2009-06-18 20:00:34 +00:00
dl.h 2009-06-04 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-04 20:40:51 +00:00
elf.h 2009-05-04 Pavel Roskin <proski@gnu.org> 2009-05-04 20:06:05 +00:00
elfload.h 2009-06-21 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-21 15:48:10 +00:00
env.h 2009-03-22 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-22 10:45:06 +00:00
err.h 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
extcmd.h 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
file.h 2009-06-10 Pavel Roskin <proski@gnu.org> 2009-06-10 23:47:49 +00:00
font.h 2009-01-02 Colin D Bennett <colin@gibibit.com> 2009-01-02 15:26:06 +00:00
fs.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
fshelp.h 2009-04-05 Vladimir Serbinenko <phcoder@gmail.com> 2009-04-05 20:19:05 +00:00
gpt_partition.h 2009-04-19 Vladimir Serbinenko <phcoder@gmail.com> 2009-04-19 20:38:46 +00:00
gzio.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
handler.h 2009-03-01 Bean <bean123ch@gmail.com> 2009-03-01 17:51:44 +00:00
hfs.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
kernel.h 2009-05-16 Bean <bean123ch@gmail.com> 2009-05-16 12:12:12 +00:00
list.h 2009-06-04 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-04 21:17:05 +00:00
loader.h 2009-04-27 Vladimir Serbinenko <phcoder@gmail.com> 2009-04-27 16:48:58 +00:00
lvm.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
macho.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
machoload.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
memory.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
menu_viewer.h 2009-01-31 Colin D Bennett <colin@gibibit.com> 2009-01-31 09:15:43 +00:00
menu.h 2009-05-23 Colin D Bennett <colin@gibibit.com> 2009-05-24 08:39:29 +00:00
misc.h 2009-06-16 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-15 22:57:39 +00:00
mm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
multiboot2.h 2009-06-21 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-21 15:48:10 +00:00
multiboot_loader.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
multiboot.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
net.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
normal.h 2009-05-23 Colin D Bennett <colin@gibibit.com> 2009-05-24 08:39:29 +00:00
ntfs.h 2008-09-22 Bean <bean123ch@gmail.com> 2008-09-22 04:18:57 +00:00
parser.h 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
partition.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
parttool.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
pc_partition.h 2009-05-09 Vladimir Serbinenko <phcoder@gmail.com> 2009-05-09 11:04:08 +00:00
pci.h 2009-04-10 Bean <bean123ch@gnail.com> 2009-04-10 15:33:34 +00:00
raid.h 2009-05-08 Pavel Roskin <proski@gnu.org> 2009-05-08 19:29:04 +00:00
reader.h 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
script_sh.h 2009-06-17 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-17 13:47:37 +00:00
scsi.h 2008-08-27 Marco Gerards <marco@gnu.org> 2008-08-27 15:05:00 +00:00
scsicmd.h 2008-08-27 Marco Gerards <marco@gnu.org> 2008-08-27 15:05:00 +00:00
setjmp.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
symbol.h 2009-06-04 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-04 21:38:17 +00:00
term.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
terminfo.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
time.h 2008-08-05 Colin D Bennett <colin@gibibit.com> 2008-08-05 11:54:37 +00:00
tparm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
types.h 2009-05-02 Vladimir Serbinenko <phcoder@gmail.com> 2009-05-02 21:46:34 +00:00
usb.h 2009-05-04 Pavel Roskin <proski@gnu.org> 2009-05-04 20:06:05 +00:00
usbdesc.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
usbtrans.h 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
video.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
xnu.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00