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

Subject: Re: [edk2] [PATCH v3 08/19] OvmfPkg/XenBusDxe: Add InterlockedCompareExchange16.

From: Anthony PERARD <>

To: Jordan Justen <>

Date: 2014-10-20 22:37:36

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

Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
edk2-devel mailing list