Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1702 Rev 1769
1
/*
1
/*
2
 * Copyright (C) 2005 Ondrej Palkovsky
2
 * Copyright (C) 2005 Ondrej Palkovsky
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
8
 *
8
 *
9
 * - Redistributions of source code must retain the above copyright
9
 * - Redistributions of source code must retain the above copyright
10
 *   notice, this list of conditions and the following disclaimer.
10
 *   notice, this list of conditions and the following disclaimer.
11
 * - Redistributions in binary form must reproduce the above copyright
11
 * - Redistributions in binary form must reproduce the above copyright
12
 *   notice, this list of conditions and the following disclaimer in the
12
 *   notice, this list of conditions and the following disclaimer in the
13
 *   documentation and/or other materials provided with the distribution.
13
 *   documentation and/or other materials provided with the distribution.
14
 * - The name of the author may not be used to endorse or promote products
14
 * - The name of the author may not be used to endorse or promote products
15
 *   derived from this software without specific prior written permission.
15
 *   derived from this software without specific prior written permission.
16
 *
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup mips32
29
/** @addtogroup mips32 
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __mips32_REGNAME_H_
35
#ifndef __mips32_REGNAME_H_
36
#define __mips32_REGNAME_H_
36
#define __mips32_REGNAME_H_
37
 
37
 
38
#define zero    0
38
#define zero    0
39
#define at      1
39
#define at      1
40
#define v0      2
40
#define v0      2
41
#define v1      3
41
#define v1      3
42
#define a0      4
42
#define a0      4
43
#define a1      5
43
#define a1      5
44
#define a2      6
44
#define a2      6
45
#define a3      7
45
#define a3      7
46
#define t0      8
46
#define t0      8
47
#define t1      9
47
#define t1      9
48
#define t2      10
48
#define t2      10
49
#define t3      11
49
#define t3      11
50
#define t4      12
50
#define t4      12
51
#define t5      13
51
#define t5      13
52
#define t6      14
52
#define t6      14
53
#define t7      15
53
#define t7      15
54
#define s0      16
54
#define s0      16
55
#define s1      17
55
#define s1      17
56
#define s2      18
56
#define s2      18
57
#define s3      19
57
#define s3      19
58
#define s4      20
58
#define s4      20
59
#define s5      21
59
#define s5      21
60
#define s6      22
60
#define s6      22
61
#define s7      23
61
#define s7      23
62
#define t8      24
62
#define t8      24
63
#define t9      25
63
#define t9      25
64
#define k0      26
64
#define k0      26
65
#define k1      27
65
#define k1      27
66
#define gp      28
66
#define gp      28
67
#define sp      29
67
#define sp      29
68
#define s8      30
68
#define s8      30
69
#define ra      31
69
#define ra      31
70
 
70
 
71
#define rindex      0
71
#define rindex      0
72
#define rrandom     1
72
#define rrandom     1
73
#define entrylo0    2
73
#define entrylo0    2
74
#define entrylo1    3
74
#define entrylo1    3
75
#define context     4
75
#define context     4
76
#define pagemask    5
76
#define pagemask    5
77
#define wired       6
77
#define wired       6
78
#define badvaddr    8
78
#define badvaddr    8
79
#define count       9
79
#define count       9
80
#define entryhi     10
80
#define entryhi     10
81
#define compare     11
81
#define compare     11
82
#define status      12
82
#define status      12
83
#define cause       13
83
#define cause       13
84
#define epc     14
84
#define epc     14
85
#define rconfig     16
85
#define rconfig     16
86
#define lladdr      17
86
#define lladdr      17
87
#define watchlo     18
87
#define watchlo     18
88
#define watchhi     19
88
#define watchhi     19
89
#define xcontext    20
89
#define xcontext    20
90
#define rdebug      23
90
#define rdebug      23
91
#define depc        24
91
#define depc        24
92
#define eepc        30
92
#define eepc        30
93
 
93
 
94
 
94
 
95
#endif /* _REGNAME_H_ */
95
#endif /* _REGNAME_H_ */
96
 
96
 
97
 /** @}
97
/** @}
98
 */
98
 */
99
 
-
 
100
 
99