]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/Include/Library/XenHypercallLib.h
Ovmf/Xen: move XenBusDxe hypercall code to separate library
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 28 Feb 2015 20:32:39 +0000 (20:32 +0000)
committerlersek <lersek@Edk2>
Sat, 28 Feb 2015 20:32:39 +0000 (20:32 +0000)
commitcd8ff8fdda24c83be6ac247f8c21e5e4032fe586
tree1931452cf00096df4bb7fd945e6fadbd4de68981
parentbbc3758ab5bc0e526994a63d739d445416ff0c07
Ovmf/Xen: move XenBusDxe hypercall code to separate library

This moves all of the Xen hypercall code that was private to XenBusDxe
to a new library class XenHypercallLib. This will allow us to reimplement
it for ARM, and to export the Xen hypercall functionality to other parts
of the code, such as a Xen console SerialPortLib driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16970 6f19259b-4bc3-4df7-8a09-765794883524
19 files changed:
OvmfPkg/Include/Library/XenHypercallLib.h [new file with mode: 0644]
OvmfPkg/Library/XenHypercallLib/Ia32/hypercall.nasm [new file with mode: 0644]
OvmfPkg/Library/XenHypercallLib/X64/hypercall.nasm [new file with mode: 0644]
OvmfPkg/Library/XenHypercallLib/XenHypercall.c [new file with mode: 0644]
OvmfPkg/Library/XenHypercallLib/XenHypercallIntel.c [new file with mode: 0644]
OvmfPkg/Library/XenHypercallLib/XenHypercallLibIntel.inf [new file with mode: 0644]
OvmfPkg/OvmfPkg.dec
OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg/OvmfPkgX64.dsc
OvmfPkg/XenBusDxe/EventChannel.c
OvmfPkg/XenBusDxe/GrantTable.c
OvmfPkg/XenBusDxe/Ia32/hypercall.nasm [deleted file]
OvmfPkg/XenBusDxe/X64/hypercall.nasm [deleted file]
OvmfPkg/XenBusDxe/XenBusDxe.c
OvmfPkg/XenBusDxe/XenBusDxe.inf
OvmfPkg/XenBusDxe/XenHypercall.c [deleted file]
OvmfPkg/XenBusDxe/XenHypercall.h [deleted file]
OvmfPkg/XenBusDxe/XenStore.c