]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch.asm
ArmPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / switch.asm
index 2c8a0318d55d491cb201cbf1ce06f1a9c3dba236..c8e8afef32adbfb6444ec1284081fc3ef63dd535 100644 (file)
@@ -1,29 +1,22 @@
-///------------------------------------------------------------------------------ \r
+///------------------------------------------------------------------------------\r
 //\r
 // Copyright (c) 2008 - 2009, 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
 \r
 \r
-    EXPORT  __ARM_switch8\r
 \r
-    AREA  ArmSwitch, CODE, READONLY\r
-  \r
-__ARM_switch8\r
+    INCLUDE AsmMacroExport.inc\r
+\r
+ RVCT_ASM_EXPORT __ARM_switch8\r
   LDRB    r12,[lr,#-1]\r
   CMP      r3,r12\r
   LDRBCC  r3,[lr,r3]\r
   LDRBCS  r3,[lr,r12]\r
   ADD      r12,lr,r3,LSL #1\r
   BX      r12\r
-  \r
+\r
     END\r