• Peter Jones's avatar
    Make 64-on-32 maybe work on x86_64. · afec82ac
    Peter Jones authored
    This is mostly based on a patch (https://github.com/mjg59/shim/issues/30)
    from https://github.com/TBOpen , which refactors our __LP64__
    tests to be tests of the header magic instead.  I've simplified things
    by using what we've pre-loaded into "context" and making some helper
    functions so the conditionals in most of the code say what they do,
    instead of how they work.
    
    Note that we're only allowing that from in_protocol's loader - that is,
    we'll let 64-bit grub load a 32-bit kernel or 32-bit grub load a 64-bit
    kernel, but 32-bit shim isn't loading a 64-bit grub.
    Signed-off-by: default avatarPeter Jones <pjones@redhat.com>
    afec82ac
Name
Last commit
Last update
Cryptlib Loading commit data...
include Loading commit data...
lib Loading commit data...
.gitignore Loading commit data...
COPYRIGHT Loading commit data...
Makefile Loading commit data...
MokManager.c Loading commit data...
MokVars.txt Loading commit data...
PasswordCrypt.c Loading commit data...
PasswordCrypt.h Loading commit data...
README Loading commit data...
TODO Loading commit data...
cert.S Loading commit data...
crypt_blowfish.c Loading commit data...
crypt_blowfish.h Loading commit data...
elf_aarch64_efi.lds Loading commit data...
elf_arm_efi.lds Loading commit data...
elf_ia32_efi.lds Loading commit data...
elf_ia64_efi.lds Loading commit data...
elf_x86_64_efi.lds Loading commit data...
fallback.c Loading commit data...
make-certs Loading commit data...
netboot.c Loading commit data...
netboot.h Loading commit data...
replacements.c Loading commit data...
replacements.h Loading commit data...
shim.c Loading commit data...
shim.h Loading commit data...
testplan.txt Loading commit data...
ucs2.h Loading commit data...
version.c.in Loading commit data...
version.h Loading commit data...