On Wed, Jan 16, 2008 at 08:39:09PM +0100, Uwe Hermann wrote: > On Wed, Jan 16, 2008 at 02:40:02PM +0100, Robert Millan wrote: > > + auto int check_signature (grub_linuxbios_table_header_t); > > + int check_signature (grub_linuxbios_table_header_t table_header) > > + { > > + if (! grub_memcmp (table_header->signature, "LBIO", 4)) > > + return 1; > > + > > + return 0; > > + } > > + > > + /* Assuming sizeof(*table_header) alignment. */ > > Maybe a more verbose comment here? > > > > + for (table_header = 0x500; table_header < 0x1000; table_header++) > > + if (check_signature (table_header)) > > + goto signature_found; > > + > > + for (table_header = 0xf0000; table_header < 0x100000; table_header++) > > + if (check_signature (table_header)) > > + goto signature_found; > > + > > + grub_fatal ("Could not find CoreBoot table\n"); > > "coreboot" please.
Fixed, thanks. -- 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