Re: [Xen-devel] [PATCH v3 21/27] Ovmf/Xen: add ARM and AArch64 support to XenBusDxe

2015-02-04 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Ard Biesheuvel wrote: > This patch adds support to XenBusDxe for executing on ARM and AArch64 > machines (the former only when built with GCC). Wouldn't it be simpler to just provide an asm implementation of them? Similarly to OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm and Ovmf

[Xen-devel] [PATCH v3 21/27] Ovmf/Xen: add ARM and AArch64 support to XenBusDxe

2015-02-03 Thread Ard Biesheuvel
This patch adds support to XenBusDxe for executing on ARM and AArch64 machines (the former only when built with GCC). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- OvmfPkg/XenBusDxe/AtomicsGcc.c | 44 + OvmfPkg/