mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
bf7873fb20
commit
0416d548c5
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue