[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1177991981.28659.44.camel@localhost.localdomain>
Date: Tue, 01 May 2007 13:59:41 +1000
From: Rusty Russell <rusty@...tcorp.com.au>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Jeremy Fitzhardinge <jeremy@...p.org>,
Jeff Garzik <jeff@...zik.org>, Andi Kleen <ak@...e.de>,
patches@...-64.org, Vivek Goyal <vgoyal@...ibm.com>,
linux-kernel@...r.kernel.org,
virtualization <virtualization@...ts.linux-foundation.org>
Subject: Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for
relocatable bzImage
On Mon, 2007-04-30 at 20:45 -0700, H. Peter Anvin wrote:
> Rusty Russell wrote:
> >
> > It'd be nicer if there were a "struct boot_params" declaration, but we
> > can't have everything.
>
> It's in my patchset-under-development.
Ah ha: excellent!
> > +typedef unsigned long long u64;
> > typedef uint32_t u32;
> > typedef uint16_t u16;
> > typedef uint8_t u8;
>
> Why not uint64_t to go along with all the other defines?
Because then it's a PITA to printf(): x86-64 has uint64_t as "unsigned
long". So the lguest64 guys will add all kinds of horrible casts. This
has the same effect, but ironically is more portable.
Rusty.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists