this patch returns if someone tries to execute in place a compressed

entry.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@492 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Stefan Reinauer 2007-09-05 02:05:55 +00:00
parent bf7873fb20
commit 0416d548c5

View file

@ -251,6 +251,13 @@ int run_file(struct mem_file *archive, const char *filename, void *where)
filename);
return 1;
}
if (result.compression != 0) {
printk(BIOS_INFO,
"LAR: Run file %s failed: Compressed file"
" not supported for in-place execution\n",
filename);
return 1;
}
where = result.start;
}
printk(BIOS_SPEW, "where is %p\n", where);