Allow dynamic size for the {s,}elfboot bounce buffer.
Use that to fix selfboot with compressed payloads. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4281 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -390,7 +390,7 @@ typedef Elf64_Phdr Elf_phdr;
|
||||
#endif
|
||||
|
||||
int elf_check_arch(Elf_ehdr *ehdr);
|
||||
void jmp_to_elf_entry(void *entry, unsigned long buffer);
|
||||
void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long bounce_size);
|
||||
struct lb_memory;
|
||||
int elfboot(struct lb_memory *mem);
|
||||
/* Temporary compile fix, FILO should be dropped from coreboot */
|
||||
|
Reference in New Issue
Block a user