[ipxe-devel] %lld format patch

James Harper james at ejbdigital.com.au
Wed Nov 4 09:53:22 UTC 2015


> 
> On 04/11/15 08:24, James Harper wrote:
> > The following trivial patch adds support for %lld printf format. Currently,
> %lld will only take a 32 bit parameter from the stack which doesn't give the
> right answer and throws out the rest of the parameter list.
> 
> Even with this patch, the upper 32 bits (on a 32-bit platform) will be
> discarded when passed to format_decimal().
> 

What is a 32 bit platform in this context? Will it only fail to work if the CPU itself is incapable of 64 bit mode?

It gives the right answer when I test it.

James


More information about the ipxe-devel mailing list