On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote: > this is the patch, problems found: > > 1, the mbi structure is not initialized to all zeros, this means some > important member, like mods_count, will contain trash. > 2, the entry point in the header is virtual address, we need to > translate it to physical address. > > * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Get physical > address of entry. > (grub_multiboot_load_elf64): Likewise. > (grub_multiboot): Initialize mbi structure.
Wow, you're inexhaustible :-) Btw it won't apply to CVS head; maybe it was scrambled when sending it? -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel