]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Introduce EFI_PARAVIRT flag
authorDaniel Kiper <daniel.kiper@oracle.com>
Mon, 30 Jun 2014 17:52:58 +0000 (19:52 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jul 2014 20:23:55 +0000 (21:23 +0100)
commit3daa0158baf80465ff1b778718d95edacce128f8
tree22ed05817b2d162f25ddb4fbb67495a8a40c3dd4
parentc3fbbe3baa3027aae78f39172fd719f920f2a0c6
efi: Introduce EFI_PARAVIRT flag

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: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c
include/linux/efi.h