]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Introduce XenResetVector
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 13 Aug 2019 11:30:47 +0000 (12:30 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 21 Aug 2019 16:03:49 +0000 (18:03 +0200)
commitc05de360ec614f71716a201760b91ee055a5ff28
tree8cd734ceafa20e50f411eb66bb81dc4499246e7e
parent75e85e3382b9adb7488a42f885d9cd2b52cdf816
OvmfPkg: Introduce XenResetVector

Introduce XenResetVector, a copy of OvmfPkg/ResetVector, with one
changes:
  - SEC_DEFAULT_CR0: enable cache (bit 30 or CD set to 0)

Xen copies the OVMF code to RAM, there is no need to disable cache.

This new module will later be modified to add a new entry point, more
detail in a following commit "OvmfPkg/XenResetVector: Add new entry point
for Xen PVH"

Value FILE_GUID of XenResetVector have not changed compare to ResetVector
because it is a special value (gEfiFirmwareVolumeTopFileGuid).

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-4-anthony.perard@citrix.com>
Maintainers.txt
OvmfPkg/OvmfXen.dsc
OvmfPkg/OvmfXen.fdf
OvmfPkg/XenResetVector/Ia16/Real16ToFlat32.asm [new file with mode: 0644]
OvmfPkg/XenResetVector/Ia32/PageTables64.asm [new file with mode: 0644]
OvmfPkg/XenResetVector/XenResetVector.inf [new file with mode: 0644]
OvmfPkg/XenResetVector/XenResetVector.nasmb [new file with mode: 0644]