On 26.09.2010 00:45, Carl-Daniel Hailfinger wrote:
On 16.08.2010 23:57, Patrick Georgi wrote:
implement libpayload support and improve life for DOS based flashrom, too:
1.physmap-allow-NULL changes the physmap* behaviour to use -1 as error code instead of 0. That way, 1:1 mapped memory can be supported properly because 0 is not a magic number anymore. -1 on the other hand is a rather unlikely memory offset, so that should be safe.
Thanks, looks good.
Change physmap behaviour to use -1 instead of 0 as error code, to allow flashrom to work with 1:1 mappings
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
I have changed the OSX code to treat NULL as error.
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
And committed in r1181.
Regards, Carl-Daniel