Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2)    Free Software Foundation, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) This file is free software; you can redistribute it and/or modify it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) under the terms of the GNU General Public License as published by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) Free Software Foundation; either version 2, or (at your option) any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) later version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) In addition to the permissions in the GNU General Public License, the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Free Software Foundation gives you unlimited permission to link the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) compiled version of this file into combinations with other programs,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) and to distribute those combinations without any restriction coming
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) from the use of this file.  (The General Public License restrictions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) do apply in other respects; for example, they cover modification of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) the file, and distribution when not linked into a combine
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) executable.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) This file is distributed in the hope that it will be useful, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) WITHOUT ANY WARRANTY; without even the implied warranty of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) General Public License for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) You should have received a copy of the GNU General Public License
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) along with this program; see the file COPYING.  If not, write to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) the Free Software Foundation, 51 Franklin Street, Fifth Floor,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Boston, MA 02110-1301, USA.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #include <asm/assembler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #ifdef __ARMEB__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #define al r1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #define ah r0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #define al r0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #define ah r1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) ENTRY(__ashldi3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) ENTRY(__aeabi_llsl)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	subs	r3, r2, #32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	rsb	ip, r2, #32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	movmi	ah, ah, lsl r2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	movpl	ah, al, lsl r3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)  ARM(	orrmi	ah, ah, al, lsr ip	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)  THUMB(	lsrmi	r3, al, ip		)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)  THUMB(	orrmi	ah, ah, r3		)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	mov	al, al, lsl r2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 	ret	lr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) ENDPROC(__ashldi3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) ENDPROC(__aeabi_llsl)