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 <[email protected]> > > I have changed the OSX code to treat NULL as error. > > Signed-off-by: Carl-Daniel Hailfinger <[email protected]> > Acked-by: Carl-Daniel Hailfinger <[email protected]> > And committed in r1181. Regards, Carl-Daniel -- http://www.hailfinger.org/ _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
