Chen Liqin | 6bc9a39 | 2009-06-12 22:01:00 +0800 | [diff] [blame] | 1 | #ifndef _ASM_SCORE_USER_H |
| 2 | #define _ASM_SCORE_USER_H |
| 3 | |
Chen Liqin | ffa818b | 2009-08-30 12:30:16 +0800 | [diff] [blame] | 4 | struct user_regs_struct { |
| 5 | unsigned long regs[32]; |
| 6 | |
| 7 | unsigned long cel; |
| 8 | unsigned long ceh; |
| 9 | |
| 10 | unsigned long sr0; /* cnt */ |
| 11 | unsigned long sr1; /* lcr */ |
| 12 | unsigned long sr2; /* scr */ |
| 13 | |
| 14 | unsigned long cp0_epc; |
| 15 | unsigned long cp0_ema; |
| 16 | unsigned long cp0_psr; |
| 17 | unsigned long cp0_ecr; |
| 18 | unsigned long cp0_condition; |
| 19 | }; |
| 20 | |
Chen Liqin | 6bc9a39 | 2009-06-12 22:01:00 +0800 | [diff] [blame] | 21 | #endif /* _ASM_SCORE_USER_H */ |