coreboot-kgpe-d16/payloads/libpayload/libcbfs
Patrick Georgi db2e3aa257 libpayload: Fix reading x86 CBFS images from RAM
Three issues:
 1. the hardcoded dereferenced pointer at 0xfffffffc
 2. "RAM media" has no idea about ROM relative addresses
 3. off-by-one in RAM media: it's legal to request 4 bytes from 0xfffffffc

Change-Id: I671ac12d412c71dc8e8e6114f2ea13f58dd99c1d
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/2624
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2013-03-12 10:23:12 +01:00
..
Makefile.inc libpayload: New CBFS to support multiple firmware media sources. 2013-02-12 11:34:20 +01:00
cbfs.c libpayload: Fix reading x86 CBFS images from RAM 2013-03-12 10:23:12 +01:00
cbfs_core.c libpayload: cbfs: Fix CBFS max size calculation. 2013-02-22 09:23:43 +01:00
ram_media.c libpayload: Fix reading x86 CBFS images from RAM 2013-03-12 10:23:12 +01:00