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) #ifndef _ASM_SCS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _ASM_SCS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #ifdef __ASSEMBLY__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #include <asm/asm-offsets.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #ifdef CONFIG_SHADOW_CALL_STACK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	scs_sp	.req	x18
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	.macro scs_load tsk, tmp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	ldr	scs_sp, [\tsk, #TSK_TI_SCS_SP]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	.endm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	.macro scs_save tsk, tmp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	str	scs_sp, [\tsk, #TSK_TI_SCS_SP]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	.endm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	.macro scs_load tsk, tmp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	.endm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	.macro scs_save tsk, tmp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	.endm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #endif /* CONFIG_SHADOW_CALL_STACK */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #endif /* __ASSEMBLY __ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #endif /* _ASM_SCS_H */