]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsl.asm
UefiPayloadPkg: Connect all root bridge in PlatformBootManagerBeforeConsole
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / llsl.asm
CommitLineData
3402aac7 1//------------------------------------------------------------------------------\r
1e57a462 2//\r
3// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
4//\r
4059386c 5// SPDX-License-Identifier: BSD-2-Clause-Patent\r
1e57a462 6//\r
7//------------------------------------------------------------------------------\r
8\r
9\r
1e57a462 10\r
efda1775 11 INCLUDE AsmMacroExport.inc\r
1e57a462 12\r
13;\r
14;VOID\r
15;EFIAPI\r
16;__aeabi_llsl (\r
17; IN VOID *Destination,\r
18; IN VOID *Source,\r
19; IN UINT32 Size\r
20; );\r
21;\r
22\r
efda1775 23 RVCT_ASM_EXPORT __aeabi_llsl\r
1e57a462 24 SUBS r3,r2,#0x20\r
25 BPL {pc} + 0x18 ; 0x1c\r
26 RSB r3,r2,#0x20\r
27 LSL r1,r1,r2\r
28 ORR r1,r1,r0,LSR r3\r
29 LSL r0,r0,r2\r
30 BX lr\r
31 LSL r1,r0,r3\r
32 MOV r0,#0\r
33 BX lr\r
34\r
35 END\r
36\r