]> git.proxmox.com Git - mirror_edk2.git/commit
Ovmf/Xen: port XenBusDxe to other architectures
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 28 Feb 2015 20:33:34 +0000 (20:33 +0000)
committerlersek <lersek@Edk2>
Sat, 28 Feb 2015 20:33:34 +0000 (20:33 +0000)
commite482753b334b03f297a9655caf775bd8469ab91c
treee21a8e24992a3ef8307d31721efac4fe9a733eda
parentb94c3ac93d57cf2711814932bf082b2ce496eb82
Ovmf/Xen: port XenBusDxe to other architectures

This patch updates XenBusDxe to use the 16-bit compare and exchange
function that was introduced for this purpose to the
BaseSynchronizationLib. It also provides a new generic implementation
of TestAndClearBit () using the same 16-bit compare and exchange, making
this module fully architecture agnostic.

Contributed-under: TianoCore Contribution Agreement 1.0
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@16975 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/XenBusDxe/GrantTable.c
OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.nasm [deleted file]
OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm [deleted file]
OvmfPkg/XenBusDxe/InterlockedCompareExchange16.c [deleted file]
OvmfPkg/XenBusDxe/InterlockedCompareExchange16.h [deleted file]
OvmfPkg/XenBusDxe/TestAndClearBit.c [new file with mode: 0644]
OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.nasm [deleted file]
OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm [deleted file]
OvmfPkg/XenBusDxe/XenBusDxe.h
OvmfPkg/XenBusDxe/XenBusDxe.inf