]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenPlatformPei: Setup HyperPages earlier
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 13 Aug 2019 11:31:03 +0000 (12:31 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 21 Aug 2019 16:03:49 +0000 (18:03 +0200)
commit12998837d5944e9d9fa447c918ab5e3c44459dd2
treed9e73e70cabaa7edbe358efce3c32ab92ececac9
parent4022f7fa91669e66479483086dc361d8dd17acfe
OvmfPkg/XenPlatformPei: Setup HyperPages earlier

We are going to need to make an hypercall in order to retreive the E820
table from the hypervisor before been able to setup the memory.

Calling XenConnect earlier will allow to setup the XenHypercallLib
earlier to allow to make hypercalls.

While here, add some comments in XenConnect().

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190813113119.14804-20-anthony.perard@citrix.com>
OvmfPkg/XenPlatformPei/Platform.c
OvmfPkg/XenPlatformPei/Platform.h
OvmfPkg/XenPlatformPei/Xen.c