Skip to content
Snippets Groups Projects
Forked from KED Software Projects / Miscellaneous / KED U-Boot Fork
Source project has a limited visibility.
  • Alexander Graf's avatar
    c07ad7c0
    efi_loader: Pass file path to payload · c07ad7c0
    Alexander Graf authored
    
    The payload gets information on where it got loaded from. This includes
    the device as well as file path.
    
    So far we've treated both as the same thing and always gave it the device
    name. However, in some situations grub2 actually wants to find its loading
    path to find its configuration file.
    
    So let's split the two semantically separte bits into separate structs and
    pass the loaded file name into our payload when we load it using "load".
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    c07ad7c0
    History
    efi_loader: Pass file path to payload
    Alexander Graf authored
    
    The payload gets information on where it got loaded from. This includes
    the device as well as file path.
    
    So far we've treated both as the same thing and always gave it the device
    name. However, in some situations grub2 actually wants to find its loading
    path to find its configuration file.
    
    So let's split the two semantically separte bits into separate structs and
    pass the loaded file name into our payload when we load it using "load".
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>