Force probing of multiboot before ELF.

This commit is contained in:
Michael Brown
2007-01-12 08:10:35 +00:00
parent 475d6d1f7c
commit 6fdc6c81a6
3 changed files with 25 additions and 13 deletions

View File

@@ -30,7 +30,7 @@
#include <gpxe/image.h>
#include <gpxe/elf.h>
struct image_type elf_image_type __image_type;
struct image_type elf_image_type __image_type ( PROBE_NORMAL );
typedef Elf32_Ehdr Elf_Ehdr;
typedef Elf32_Phdr Elf_Phdr;
@@ -143,7 +143,7 @@ int elf_load ( struct image *image ) {
}
/** ELF image type */
struct image_type elf_image_type __image_type = {
struct image_type elf_image_type __image_type ( PROBE_NORMAL ) = {
.name = "ELF",
.load = elf_load,
.exec = elf_exec,