powerpc: remove CONFIG_PCI_QSPAN
[linux/fpc-iii.git] / arch / csky / abiv1 / inc / abi / regdef.h
blob876689291b716802f3a38f29af12ac69ad807c66
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef __ASM_CSKY_REGDEF_H
5 #define __ASM_CSKY_REGDEF_H
7 #define syscallid r1
8 #define r11_sig r11
10 #define regs_syscallid(regs) regs->regs[9]
13 * PSR format:
14 * | 31 | 30-24 | 23-16 | 15 14 | 13-0 |
15 * S CPID VEC TM
17 * S: Super Mode
18 * CPID: Coprocessor id, only 15 for MMU
19 * VEC: Exception Number
20 * TM: Trace Mode
22 #define DEFAULT_PSR_VALUE 0x8f000000
24 #define SYSTRACE_SAVENUM 2
26 #endif /* __ASM_CSKY_REGDEF_H */