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
This commit is contained in:
@@ -122,7 +122,7 @@ INT32
|
||||
EFIAPI
|
||||
TestAndClearBit (
|
||||
IN INT32 Bit,
|
||||
IN volatile VOID *Address
|
||||
IN VOID *Address
|
||||
);
|
||||
|
||||
CHAR8*
|
||||
|
Reference in New Issue
Block a user