ext3: Update MAINTAINERS for ext3 and JBD
[linux/fpc-iii.git] / arch / microblaze / include / asm / ptrace.h
bloba917dc517736dd03715235505606e9be5afdf53e
1 /*
2 * Copyright (C) 2006 Atmark Techno, Inc.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 */
9 #ifndef _ASM_MICROBLAZE_PTRACE_H
10 #define _ASM_MICROBLAZE_PTRACE_H
12 #ifndef __ASSEMBLY__
14 typedef unsigned long microblaze_reg_t;
16 struct pt_regs {
17 microblaze_reg_t r0;
18 microblaze_reg_t r1;
19 microblaze_reg_t r2;
20 microblaze_reg_t r3;
21 microblaze_reg_t r4;
22 microblaze_reg_t r5;
23 microblaze_reg_t r6;
24 microblaze_reg_t r7;
25 microblaze_reg_t r8;
26 microblaze_reg_t r9;
27 microblaze_reg_t r10;
28 microblaze_reg_t r11;
29 microblaze_reg_t r12;
30 microblaze_reg_t r13;
31 microblaze_reg_t r14;
32 microblaze_reg_t r15;
33 microblaze_reg_t r16;
34 microblaze_reg_t r17;
35 microblaze_reg_t r18;
36 microblaze_reg_t r19;
37 microblaze_reg_t r20;
38 microblaze_reg_t r21;
39 microblaze_reg_t r22;
40 microblaze_reg_t r23;
41 microblaze_reg_t r24;
42 microblaze_reg_t r25;
43 microblaze_reg_t r26;
44 microblaze_reg_t r27;
45 microblaze_reg_t r28;
46 microblaze_reg_t r29;
47 microblaze_reg_t r30;
48 microblaze_reg_t r31;
49 microblaze_reg_t pc;
50 microblaze_reg_t msr;
51 microblaze_reg_t ear;
52 microblaze_reg_t esr;
53 microblaze_reg_t fsr;
54 int pt_mode;
57 #define kernel_mode(regs) ((regs)->pt_mode)
58 #define user_mode(regs) (!kernel_mode(regs))
60 #define instruction_pointer(regs) ((regs)->pc)
61 #define profile_pc(regs) instruction_pointer(regs)
63 void show_regs(struct pt_regs *);
65 #endif /* __ASSEMBLY__ */
67 #endif /* _ASM_MICROBLAZE_PTRACE_H */