Displaying 1 result from an estimated 1 matches for "2af74c1".
2008 Oct 20
0
PATCH[001/001]: mboot.c: prefer ELF header over multiboot header
...he informations from the ELF header.
This is in violation of the Multiboot spec, but it's the way GRUB does
things and Solaris kernels rely on this behaviour.
Signed-of-by: Ralf Ertzinger <ralf at skytale.net>
---
diff --git a/com32/modules/mboot.c b/com32/modules/mboot.c
index ad659d9..2af74c1 100644
--- a/com32/modules/mboot.c
+++ b/com32/modules/mboot.c
@@ -582,71 +582,11 @@ static size_t load_kernel(struct multiboot_info *mbi, char *cmdline)
/* This kernel will do: figure out where all the pieces will live */
- if (mbh->flags & MULTIBOOT_AOUT_KLUDGE) {
-
-...