1 /*
2 * Various register offset definitions for debuggers, core file
3 * examiners and whatnot.
4 *
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
8 *
9 * Copyright (C) 1995, 1999 Ralf Baechle
10 * Copyright (C) 1995, 1999 Silicon Graphics
11 */
12 #ifndef _ASM_REG_H
13 #define _ASM_REG_H
14
15 /*
16 * This defines/structures correspond to the register layout on stack -
17 * if the order here is changed, it needs to be updated in
18 * include/asm-mips/stackframe.h
19 */
20 #define EF_REG0 8
21 #define EF_REG1 9
22 #define EF_REG2 10
23 #define EF_REG3 11
24 #define EF_REG4 12
25 #define EF_REG5 13
26 #define EF_REG6 14
27 #define EF_REG7 15
28 #define EF_REG8 16
29 #define EF_REG9 17
30 #define EF_REG10 18
31 #define EF_REG11 19
32 #define EF_REG12 20
33 #define EF_REG13 21
34 #define EF_REG14 22
35 #define EF_REG15 23
36 #define EF_REG16 24
37 #define EF_REG17 25
38 #define EF_REG18 26
39 #define EF_REG19 27
40 #define EF_REG20 28
41 #define EF_REG21 29
42 #define EF_REG22 30
43 #define EF_REG23 31
44 #define EF_REG24 32
45 #define EF_REG25 33
46 /*
47 * k0/k1 unsaved
48 */
49 #define EF_REG28 36
50 #define EF_REG29 37
51 #define EF_REG30 38
52 #define EF_REG31 39
53
54 /*
55 * Saved special registers
56 */
57 #define EF_LO 40
58 #define EF_HI 41
59
60 #define EF_CP0_EPC 42
61 #define EF_CP0_BADVADDR 43
62 #define EF_CP0_STATUS 44
63 #define EF_CP0_CAUSE 45
64
65 #define EF_SIZE 368 /* size in bytes */
66
67 #endif /* _ASM_REG_H */
68
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.