• Matt Fleming's avatar
    x86/efi: Delete most of the efi_call* macros · 62fa6e69
    Matt Fleming authored
    We really only need one phys and one virt function call, and then only
    one assembly function to make firmware calls.
    
    Since we are not using the C type system anyway, we're not really losing
    much by deleting the macros apart from no longer having a check that
    we are passing the correct number of parameters. The lack of duplicated
    code seems like a worthwhile trade-off.
    
    Cc: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
    62fa6e69
efi_stub_64.S 4.4 KB