summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/XenPlatformPei
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2019-08-13 12:30:52 +0100
committerLaszlo Ersek <lersek@redhat.com>2019-08-21 18:03:49 +0200
commitf198e254f709951bc02c032769f351c12ac4b54d (patch)
treecabfa2aa05b1eb06a478582a714424742a07fa28 /OvmfPkg/XenPlatformPei
parent93314ae597b3c4c22d1120319fc1669bfb717694 (diff)
downloadedk2-f198e254f709951bc02c032769f351c12ac4b54d.tar.gz
edk2-f198e254f709951bc02c032769f351c12ac4b54d.tar.bz2
edk2-f198e254f709951bc02c032769f351c12ac4b54d.zip
OvmfPkg/XenResetVector: Allow jumpstart from either hvmloader or PVH
This patch allows the ResetVector to be run indenpendently from build time addresses. The goal of the patch is to avoid having to create RAM just below 4G when creating a Xen PVH guest while being compatible with the way hvmloader currently load OVMF, just below 4G. Only the new PVH entry point will do the calculation. The ResetVector will figure out its current running address by creating a temporary stack, make a call and calculate the difference between the build time address and the address at run time. This patch copies and make the necessary modification to some other asm files: - copy of UefiCpuPkg/.../Flat32ToFlat64.asm: Allow Transition32FlatTo64Flat to be run from anywhere in memory - copy of UefiCpuPkg/../SearchForBfvBase.asm: Add a extra parameter to indicate where to start the search for the boot firmware volume. 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-9-anthony.perard@citrix.com>
Diffstat (limited to 'OvmfPkg/XenPlatformPei')
0 files changed, 0 insertions, 0 deletions