]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/CompilerIntrinsicsLib/Arm/ctzsi2.S
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / ctzsi2.S
index d530025a1df4a6007be55d2ec76745793228d7ec..5b21ec749e4ccb1b067e8c3ba407edf82c433595 100644 (file)
@@ -1,22 +1,14 @@
-#------------------------------------------------------------------------------ \r
+#------------------------------------------------------------------------------\r
 #\r
 # Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
 #\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 #------------------------------------------------------------------------------\r
 \r
-  .text\r
-  .align 2\r
-  GCC_ASM_EXPORT(__ctzsi2)\r
-  \r
-ASM_PFX(__ctzsi2):\r
+#include <AsmMacroIoLib.h>\r
+\r
+ASM_FUNC(__ctzsi2)\r
   uxth  r3, r0\r
   cmp  r3, #0\r
   moveq  ip, #16\r