|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH]: Fix rombios to correctly report size of disks >
On 23/07/2010 09:14, "Gianni Tedesco (3P)" <gianni.tedesco@xxxxxxxxxx>
wrote:
>>> Also I'm not sure but I think the
>>> integer size here may be 16 bits, and the %u format specifier would only
>>> print 16-bit values in that case anyway.
>>
>> I tested it and it works as advertised (modulo 16 -> 64)....
>
> BTW. the reason for that is printf() and integer definition doesn't
> change regardless of whether gcc is compiling for 16 or 32 bit mode but
> just changes the logic wrt operand-size insn prefix
This isn't compiled with gcc, but with bcc from the dev86 toolchain. Hacking
sizeinmb to be 67UL<<10, I find that 67GB is printed which is correct.
That's with the latest dev86 (which is still very old!) v0.16.17.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|