1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_CSKY_REGDEF_H
4 #define __ASM_CSKY_REGDEF_H
12 #define regs_syscallid(regs) regs->regs[9]
13 #define regs_fp(regs) regs->regs[2]
17 * | 31 | 30-24 | 23-16 | 15 14 | 13-0 |
21 * CPID: Coprocessor id, only 15 for MMU
22 * VEC: Exception Number
25 #define DEFAULT_PSR_VALUE 0x8f000000
27 #define SYSTRACE_SAVENUM 2
31 #endif /* __ASM_CSKY_REGDEF_H */