coreboot-kgpe-d16/util/cbmem
Stefan Reinauer 05cbce672e cbmem utility: Use mmap instead of fseek/fread
The kernel on Ubuntu 12.04LTS does not allow to use
fseek/fread to read the coreboot table at the end of
memory but will instead abort cbmem with a "Bad Address"
error.

Whether that is a security feature (some variation of
CONFIG_STRICT_DEVMEM) or a kernel bug is not  yet clear,
however using mmap works nicely.

Change-Id: I796b4cd2096fcdcc65c1361ba990cd467f13877e
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/2097
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
2013-01-04 06:37:59 +01:00
..
Makefile cbmem compilation needs to use the hardened toolchain 2012-11-12 17:12:23 +01:00
cbmem.c cbmem utility: Use mmap instead of fseek/fread 2013-01-04 06:37:59 +01:00
cbmem.py Get more informative output from cbmem.py 2012-11-08 19:39:06 +01:00