1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_CSKY_ENTRY_H
4 #define __ASM_CSKY_ENTRY_H
7 #include <abi/regdef.h>
30 .macro SAVE_ALL epc_inc
118 .macro SAVE_SWITCH_STACK
123 .macro RESTORE_SWITCH_STACK
128 /* MMU registers operators. */
154 /* Init psr and enable ee */
155 lrw r6, DEFAULT_PSR_VALUE
159 /* Select MMU as co-processor */
164 * 31 - 29 | 28 - 4 | 3 | 2 | 1 | 0
176 #endif /* __ASM_CSKY_ENTRY_H */