2013-01-28 12:40:04 +01:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Copyright (c) 2013, ARM. All rights reserved.<BR>
|
|
|
|
#
|
2019-04-04 01:03:18 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2013-01-28 12:40:04 +01:00
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2016-08-10 14:38:08 +02:00
|
|
|
#include <AsmMacroIoLib.h>
|
2013-01-28 12:40:04 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
#VOID
|
|
|
|
#EFIAPI
|
|
|
|
#__aeabi_llsl (
|
|
|
|
# IN VOID *Destination,
|
|
|
|
# IN VOID *Source,
|
|
|
|
# IN UINT32 Size
|
|
|
|
# );
|
|
|
|
#
|
2016-08-10 14:38:08 +02:00
|
|
|
ASM_FUNC(__aeabi_llsl)
|
2013-01-28 12:40:04 +01:00
|
|
|
subs r3,r2,#0x20
|
|
|
|
bpl 1f
|
|
|
|
rsb r3,r2,#0x20
|
|
|
|
lsl r1,r1,r2
|
|
|
|
orr r1,r1,r0,lsr r3
|
|
|
|
lsl r0,r0,r2
|
|
|
|
bx lr
|
|
|
|
1:
|
|
|
|
lsl r1,r0,r3
|
|
|
|
mov r0,#0
|
|
|
|
bx lr
|