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-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  *  linux/arch/arm/vfp/entry.S
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *  Copyright (C) 2004 ARM Limited.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *  Written by Deep Blue Solutions Limited.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <asm/thread_info.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <asm/vfpmacros.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <asm/assembler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <asm/asm-offsets.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) @ VFP entry point.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) @
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) @  r0  = instruction opcode (32-bit ARM or two 16-bit Thumb)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) @  r2  = PC value to resume execution after successful emulation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) @  r9  = normal "successful" return address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) @  r10 = this threads thread_info structure
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) @  lr  = unrecognised instruction return address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) @  IRQs enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) @
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) ENTRY(do_vfp)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	inc_preempt_count r10, r4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)  	ldr	r4, .LCvfp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	ldr	r11, [r10, #TI_CPU]	@ CPU number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	add	r10, r10, #TI_VFPSTATE	@ r10 = workspace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	ldr	pc, [r4]		@ call VFP entry point
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ENDPROC(do_vfp)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) ENTRY(vfp_null_entry)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	dec_preempt_count_ti r10, r4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	ret	lr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) ENDPROC(vfp_null_entry)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	.align	2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) .LCvfp:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	.word	vfp_vector