![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _ASM_SCS_H 0003 #define _ASM_SCS_H 0004 0005 #ifdef __ASSEMBLY__ 0006 0007 #include <asm/asm-offsets.h> 0008 0009 #ifdef CONFIG_SHADOW_CALL_STACK 0010 scs_sp .req x18 0011 0012 .macro scs_load tsk 0013 ldr scs_sp, [\tsk, #TSK_TI_SCS_SP] 0014 .endm 0015 0016 .macro scs_save tsk 0017 str scs_sp, [\tsk, #TSK_TI_SCS_SP] 0018 .endm 0019 #else 0020 .macro scs_load tsk 0021 .endm 0022 0023 .macro scs_save tsk 0024 .endm 0025 #endif /* CONFIG_SHADOW_CALL_STACK */ 0026 0027 #endif /* __ASSEMBLY __ */ 0028 0029 #endif /* _ASM_SCS_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |