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) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* $Id: memchr.S,v 1.1 2000/04/14 16:49:01 mjd Exp $
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * "memchr" implementation of SuperH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Copyright (C) 1999  Niibe Yutaka
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  * void *memchr(const void *s, int c, size_t n);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) ENTRY(memchr)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	tst	r6,r6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	bt/s	2f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	 exts.b	r5,r5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 1:	mov.b	@r4,r1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	cmp/eq	r1,r5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	bt/s	3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	 dt	r6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	bf/s	1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	 add	#1,r4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 2:	mov	#0,r4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 3:	rts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	 mov	r4,r0