[LinuxBIOS] [PATCH] v3: convert stage2 to multi-segment LAR
Stefan Reinauer
stepan at coresystems.de
Tue Nov 27 10:33:51 CET 2007
* Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> [071127 03:55]:
> Convert stage2 handling from binary blob to multi-segment LAR which is
> created by parsing the ELF file linuxbios.stage2.o. That way, we avoid
> manual specification of the entry point for stage2 code. A few LAR
> functions are now unused and can be removed in a following cleanup session.
> Another suggested cleanup would be factoring out a load_all_segments
> function, resulting in less code duplication.
I can't believe this is the workaround for not being able to put a
"jmp _entry" in front of the code.
It might be becoming just another "how do we explain _that_ to people
now?" just like the v2 device tree.
my 2ct
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list