[lkml]   [2007]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [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.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-01 06:05    [W:0.019 / U:3.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site