Add ARM support

Add C inline versions of the IA32 and X64 assembly functions.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9112 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney
2009-08-18 21:02:42 +00:00
parent 9101c2e894
commit 3c99107841
5 changed files with 493 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
#/** @file
# Base Synchronization Library implementation.
#
# Copyright (c) 2007 - 2008, Intel Corporation.
# Copyright (c) 2007 - 2008, Intel Corporation.<BR>
# Portions Copyright (c) 2008-2009 Apple Inc.<BR>
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -22,12 +23,12 @@
LIBRARY_CLASS = SynchronizationLib
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM
#
[Sources.Common]
BaseSynchronizationLibInternals.h
[Sources.Ia32]
[Sources.IA32]
Ia32/InterlockedCompareExchange64.c | MSFT
Ia32/InterlockedCompareExchange32.c | MSFT
Ia32/InterlockedDecrement.c | MSFT
@@ -80,6 +81,10 @@
Synchronization.c
Ebc/Synchronization.c
[Sources.ARM]
Synchronization.c
Arm/Synchronization.c
[Packages]
MdePkg/MdePkg.dec