[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [edk2] [PATCH v3 08/19] OvmfPkg/XenBusDxe: Add InterlockedCompareExchange16.

On Sun, Oct 19, 2014 at 05:00:13PM -0700, Jordan Justen wrote:
> On 2014-10-17 10:03:51, Anthony PERARD wrote:
> > This patch is inspired by InterlockedCompareExchange32 from the
> > BaseSynchronizationLib.
> Why not attempt to add it to BaseSynchronizationLib?

The BaseSynchronizationLib have assembly for every architecture, it felt
like InterlockedCompareExchange16 would be needed to be done for every
architecture (x86, ARM, ...) to be able to add it to the
BaseSynchronizationLib. So I did not.

Should I redo the patch, and have InterlockedCompareExchange16 only for
IA32 and X64 would be enough?

Anthony PERARD

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.