13 Jul, 2011

1 commit

  • The real-mode kernel header init_size field is located at 0x260 per the field
    listing in th e"REAL-MODE KERNEL HEADER" section. It is listed as 0x25c in
    the "DETAILS OF HEADER FIELDS" section, which overlaps with pref_address.
    Correct the details listing to 0x260.

    Signed-off-by: Darren Hart
    Link: http://lkml.kernel.org/r/541cf88e2dfe5b8186d8b96b136d892e769a68c1.1310441260.git.dvhart@linux.intel.com
    CC: H. Peter Anvin
    Signed-off-by: H. Peter Anvin

    Darren Hart
     

14 Jan, 2011

1 commit

  • This integrates the XZ decompression code to the x86 pre-boot code.

    mkpiggy.c is updated to reserve about 32 KiB more buffer safety margin for
    kernel decompression. It is done unconditionally for all decompressors to
    keep the code simpler.

    The XZ decompressor needs around 30 KiB of heap, so the heap size is
    increased to 32 KiB on both x86-32 and x86-64.

    Documentation/x86/boot.txt is updated to list the XZ magic number.

    With the x86 BCJ filter in XZ, XZ-compressed x86 kernel tends to be a few
    percent smaller than the equivalent LZMA-compressed kernel.

    Signed-off-by: Lasse Collin
    Cc: "H. Peter Anvin"
    Cc: Alain Knaff
    Cc: Albin Tonnerre
    Cc: Phillip Lougher
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lasse Collin
     

12 Nov, 2010

1 commit


31 Aug, 2009

1 commit


12 May, 2009

2 commits

  • A long ago, in days of yore, it all began with a god named Thor.
    There were vikings and boats and some plans for a Linux kernel
    header. Unfortunately, a single 8-bit field was used for bootloader
    type and version. This has generally worked without *too* much pain,
    but we're getting close to flat running out of ID fields.

    Add extension fields for both type and version. The type will be
    extended if it the old field is 0xE; the version is a simple MSB
    extension.

    Keep /proc/sys/kernel/bootloader_type containing
    (type << 4) + (ver & 0xf) for backwards compatiblity, but also add
    /proc/sys/kernel/bootloader_version which contains the full version
    number.

    [ Impact: new feature to support more bootloaders ]

    Signed-off-by: H. Peter Anvin

    H. Peter Anvin
     
  • Document the new bzImage fields for kernel memory placement.

    [ Impact: adds documentation ]

    Signed-off-by: H. Peter Anvin

    H. Peter Anvin
     

04 Mar, 2009

1 commit


15 Jan, 2009

2 commits


05 Jan, 2009

1 commit


17 Dec, 2008

1 commit

  • Impact: clarify documentation

    Documentation/x86/boot.txt describes payload_offset as the offset
    from the end of the real-mode code. In fact, it is more accurately
    described as the offset from the beginning of the protected-mode
    code, as (a) this is how it is actually calculated and (b) the padding
    after the real-mode code is not included in the offset.

    Signed-off-by: Philipp Kohlbecher
    Acked-by: Ian Campbell
    Acked-by: H. Peter Anvin
    Signed-off-by: Ingo Molnar

    Philipp Kohlbecher
     

12 Nov, 2008

1 commit


23 Jul, 2008

2 commits