audk/OvmfPkg/Library/XenHypercallLib
Anthony PERARD 68f4599dfc OvmfPkg/XenHypercallLib: Enable it in PEIM
Allow to use Xen hypercalls earlier, during the PEIM stage, but
XenHypercallLibInit() must be called once the XenInfo HOB is created
with the HyperPage setup.

Change the return value of XenHypercallLibInit so failure can be
detected when the call shouldn't fail, but still have the constructor
always succeed.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190813113119.14804-17-anthony.perard@citrix.com>
2019-08-21 18:03:49 +02:00
..
Aarch64 OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
Arm OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
Ia32 Ovmf/Xen: move XenBusDxe hypercall code to separate library 2015-02-28 20:32:39 +00:00
X64 Ovmf/Xen: move XenBusDxe hypercall code to separate library 2015-02-28 20:32:39 +00:00
ArmXenHypercall.c OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
X86XenHypercall.c OvmfPkg/XenHypercallLib: Enable it in PEIM 2019-08-21 18:03:49 +02:00
XenHypercall.c OvmfPkg/XenHypercallLib: Enable it in PEIM 2019-08-21 18:03:49 +02:00
XenHypercallLib.inf OvmfPkg/XenHypercallLib: Enable it in PEIM 2019-08-21 18:03:49 +02:00