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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] [0/22] x86 candidate patches for review II: 64bit relocatable kernel
- From: Andi Kleen <[email protected]>
- [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Andi Kleen <[email protected]>
- Re: [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Jeff Garzik <[email protected]>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: [email protected] (Eric W. Biederman)
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: [email protected] (Eric W. Biederman)
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Rusty Russell <[email protected]>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: "H. Peter Anvin" <[email protected]>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Rusty Russell <[email protected]>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: [email protected] (Eric W. Biederman)
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Rusty Russell <[email protected]>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: "H. Peter Anvin" <[email protected]>
- [PATCH] [0/22] x86 candidate patches for review II: 64bit relocatable kernel
- Prev by Date: [PATCH] [11/30] i386: Drop -traditional in arch/i386/boot
- Next by Date: [PATCH] [2/30] x86_64: set node_possible_map at runtime - try 2
- Previous by thread: Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- Next by thread: Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- Index(es):