the new multi-segment lar handling has an off-by-one error in the

printk. 

Signed-off-by: Alex Beregszaszi <alex@rtfs.hu>                                                             
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@488 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Stefan Reinauer 2007-09-05 01:47:21 +00:00
commit 9816be9a2c

View file

@ -182,7 +182,7 @@ void __attribute__((stdcall)) stage1_main(u32 bist)
archive.len = *(u32 *)0xfffffff4;
archive.start =(void *)(0UL-archive.len);
newentry = load_file(&archive, filename);
printk("newentry is %p\n", newentry);
printk(BIOS_SPEW, "newentry is %p\n", newentry);
if (newentry == (void *)-1)
break;
if (! entry)