]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
MdePkg/BaseSynchronizationLib: Added proper support for ARM architecture
authorOlivier Martin <olivier.martin@arm.com>
Sat, 28 Feb 2015 20:31:40 +0000 (20:31 +0000)
committerlersek <lersek@Edk2>
Sat, 28 Feb 2015 20:31:40 +0000 (20:31 +0000)
commitcc3104283f47d99a68e555582a3298a26735eb84
treebd22dd102888c0daacefd6848ba48649e092fbbf
parentf98490369f61a299fa260c559879bae4553d672a
MdePkg/BaseSynchronizationLib: Added proper support for ARM architecture

This implements the following synchronization primitives for AArch64 (GCC)
and ARM (GCC & RVCT):

InternalSyncCompareExchange32
InternalSyncCompareExchange64
InternalSyncIncrement
InternalSyncDecrement

Note: these functions are implemented using the exclusive monitor,
which implies that they can only be used after the caches (and hence
the MMU) have been enabled.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.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@16965 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseSynchronizationLib/AArch64/Synchronization.S [new file with mode: 0644]
MdePkg/Library/BaseSynchronizationLib/AArch64/Synchronization.c [deleted file]
MdePkg/Library/BaseSynchronizationLib/Arm/Synchronization.S [new file with mode: 0644]
MdePkg/Library/BaseSynchronizationLib/Arm/Synchronization.asm [new file with mode: 0644]
MdePkg/Library/BaseSynchronizationLib/Arm/Synchronization.c [deleted file]
MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [changed mode: 0644->0755]