diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2019-08-13 12:31:00 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-08-21 18:03:49 +0200 |
commit | 68f4599dfc6ae841308e3fbce9121cbd311994f3 (patch) | |
tree | 2ee07f83adc2b222d40476193b9620057e90c13a /MdePkg | |
parent | 2a4a6242b71721024971df56d4f28e0aa63dd4d8 (diff) | |
download | edk2-68f4599dfc6ae841308e3fbce9121cbd311994f3.zip edk2-68f4599dfc6ae841308e3fbce9121cbd311994f3.tar.gz edk2-68f4599dfc6ae841308e3fbce9121cbd311994f3.tar.bz2 |
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>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions