//------------------------------------------------------------------------------\r
//\r
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+// Copyright (c) 2018, Pete Batard. 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
//\r
//------------------------------------------------------------------------------\r
\r
+ EXPORT __aeabi_llsr\r
+ EXPORT __rt_srsh\r
\r
+ AREA s___aeabi_llsr, CODE, READONLY, ARM\r
\r
- INCLUDE AsmMacroExport.inc\r
+ ARM\r
\r
;\r
;VOID\r
;EFIAPI\r
;__aeabi_llsr (\r
-; IN VOID *Destination,\r
-; IN VOID *Source,\r
-; IN UINT32 Size\r
-; );\r
+; IN UINT64 Value,\r
+; IN UINT32 Shift\r
+;)\r
;\r
- RVCT_ASM_EXPORT __aeabi_llsr\r
+__aeabi_llsr\r
+__rt_srsh\r
SUBS r3,r2,#0x20\r
- BPL {pc} + 0x18 ; 0x1c\r
+ BPL __aeabi_llsr_label1\r
RSB r3,r2,#0x20\r
LSR r0,r0,r2\r
ORR r0,r0,r1,LSL r3\r
LSR r1,r1,r2\r
BX lr\r
+__aeabi_llsr_label1\r
LSR r0,r1,r3\r
MOV r1,#0\r
BX lr\r
\r
END\r
-\r
-\r
-\r