lkml.org 
[lkml]   [2016]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: HVMLite / PVHv2 - using x86 EFI boot entry
    (Sorry, just realised I never replied to this)

    On Wed, 13 Apr, at 01:59:10PM, Roger Pau Monné wrote:
    >
    > Is this header compatible with the ELF header? Con both co-exist in the
    > same binary without issues?

    Nope, they cannot. We get away with mixing bzImage headers and PE/COFF
    headers for the EFI stub because bzImage has no magic string and
    contains historical code at the start of the file. The code is never
    executed in practice nowadays (it tells the user to use a boot loader
    instead of direct execution) so we just stamp a PE/COFF header over it
    when CONFIG_EFI_STUB is enabled.

    \
     
     \ /
      Last update: 2016-04-16 01:21    [W:2.479 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site