]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenPlatformPei: no hvmloader: get the E820 table via hypercall
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 13 Aug 2019 11:31:06 +0000 (12:31 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 21 Aug 2019 16:03:49 +0000 (18:03 +0200)
commita749e1f93be67a799fcfb437253a533e462b90ee
treebbcc8a3cdf53cd612a501ecfc7db67c7b5a4eda5
parent23f937420306cf77e47e3d9d27de89559750b7ab
OvmfPkg/XenPlatformPei: no hvmloader: get the E820 table via hypercall

When the Xen PVH entry point has been used, hvmloader hasn't run and
hasn't prepared an E820 table. The only way left to get an E820 table
is to ask Xen via an hypercall.  We keep the result cached to avoid
making a second hypercall which would give the same result.

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-23-anthony.perard@citrix.com>
OvmfPkg/XenPlatformPei/Xen.c