[LinuxBIOS] [patch 2/5] New LAR access functions
Stefan Reinauer
stepan at coresystems.de
Mon Aug 20 02:36:55 CEST 2007
jordan.crouse at amd.com wrote:
> In preparation for adding new LAR functionality - this patch consolidates
> creating and accessing the LAR into new code utilizing mmap which
> facilitates moving about within the archive.
>
> This code also turns the bootblock path name as a constant value.
> It also requires that the user specify a size when the LAR is
> created.
>
> Signed-off-by: Jordan crouse <jordan.crouse at amd.com>
This code checks whether the target file already exists and fails if this is the case.
I am not sure whether this is an intended behavior. When running "make" two times in a row, the second make fails now:
> Archive file ../linuxbios.rom already exists Unable to create
> ../linuxbios.rom as a LAR archive. make: ***
> [/home/stepan/svn/LinuxBIOSv3/build/linuxbios.rom] Error 1
I fixed this in the Makefile for now by deleting the output file before creating it.
--
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