summaryrefslogtreecommitdiff
path: root/dmi.c
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-09-25 22:53:44 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-09-25 22:53:44 +0000
commit132b5727df25854761c376e153eeaa840b59a6c4 (patch)
treec7dfb0613b792f12e4872fa187a2cf6020afc599 /dmi.c
parentbc15b71ec3615b64de28f6ac38946d137f28a8f1 (diff)
downloadflashrom-132b5727df25854761c376e153eeaa840b59a6c4.tar.gz
Implement libpayload support and improve life for DOS
based flashrom, too: Change the physmap* behaviour to use (void*)-1 as error code instead of NULL. That way, 1:1 mapped memory can be supported properly because (void*)0 is not a magic pointer anymore. (void*)-1 on the other hand is a rather unlikely memory offset, so that should be safe. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1181 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'dmi.c')
0 files changed, 0 insertions, 0 deletions