[coreboot] v3: VPD handling bogosity

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Dec 3 03:33:27 CET 2008


We have the following nice rule in arch/x86/Makefile

$(obj)/arch/x86/%/stage0.o: $(src)/arch/x86/%/stage0.S
$(src)/arch/x86/stage0_common.S
        $(Q)mkdir -p $(dir $@)
        $(Q)printf "  CC      $(subst $(shell pwd)/,,$(@))\n"
        $(Q)$(CC) -E $(COREBOOTINCLUDE) $< \
                -o $(obj)/arch/x86/stage0_asm.s -DBOOTBLK=0x1f00 \
                -DRESRVED=0xf0 -DDATE=\"`date +%Y/%m/%d`\"
        $(Q)printf "  AS      $(subst $(shell pwd)/,,$(@))\n"
        $(Q)$(AS) $(obj)/arch/x86/stage0_asm.s -o $@

RESRVED is never used although arch/x86/stage0_common.S says it refers
to the area reserved for VPD.
However, we prepend the VPD to stage0.init without any linker magic. Are
there two different meanings of VPD?

Can someone please explain this?

Regards.
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list