• D
    efi: Introduce EFI_PARAVIRT flag · 9f27bc54
    Daniel Kiper 提交于
    Introduce EFI_PARAVIRT flag. If it is set then kernel runs
    on EFI platform but it has not direct control on EFI stuff
    like EFI runtime, tables, structures, etc. If not this means
    that Linux Kernel has direct access to EFI infrastructure
    and everything runs as usual.
    
    This functionality is used in Xen dom0 because hypervisor
    has full control on EFI stuff and all calls from dom0 to
    EFI must be requested via special hypercall which in turn
    executes relevant EFI code in behalf of dom0.
    Signed-off-by: NDaniel Kiper <daniel.kiper@oracle.com>
    Signed-off-by: NMatt Fleming <matt.fleming@intel.com>
    9f27bc54
efi.c 10.3 KB