![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 0003 #ifndef __ASM_CSKY_REGDEF_H 0004 #define __ASM_CSKY_REGDEF_H 0005 0006 #ifdef __ASSEMBLY__ 0007 #define syscallid r7 0008 #else 0009 #define syscallid "r7" 0010 #endif 0011 0012 #define regs_syscallid(regs) regs->regs[3] 0013 #define regs_fp(regs) regs->regs[4] 0014 0015 /* 0016 * PSR format: 0017 * | 31 | 30-24 | 23-16 | 15 14 | 13-10 | 9 | 8-0 | 0018 * S VEC TM MM 0019 * 0020 * S: Super Mode 0021 * VEC: Exception Number 0022 * TM: Trace Mode 0023 * MM: Memory unaligned addr access 0024 */ 0025 #define DEFAULT_PSR_VALUE 0x80000200 0026 0027 #define SYSTRACE_SAVENUM 5 0028 0029 #define TRAP0_SIZE 4 0030 0031 #endif /* __ASM_CSKY_REGDEF_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |