Rev 306 | Rev 341 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 306 | Rev 319 | ||
---|---|---|---|
- | 1 | /* |
|
- | 2 | * Copyright (C) 2005 Ondrej Palkovsky |
|
- | 3 | * All rights reserved. |
|
- | 4 | * |
|
- | 5 | * Redistribution and use in source and binary forms, with or without |
|
- | 6 | * modification, are permitted provided that the following conditions |
|
- | 7 | * are met: |
|
- | 8 | * |
|
- | 9 | * - Redistributions of source code must retain the above copyright |
|
- | 10 | * notice, this list of conditions and the following disclaimer. |
|
- | 11 | * - Redistributions in binary form must reproduce the above copyright |
|
- | 12 | * notice, this list of conditions and the following disclaimer in the |
|
- | 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 |
|
- | 15 | * derived from this software without specific prior written permission. |
|
- | 16 | * |
|
- | 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 |
|
- | 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
- | 20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
- | 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
- | 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 |
|
- | 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 |
|
- | 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
- | 27 | */ |
|
- | 28 | ||
1 | #ifndef __mips_REGNAME_H_ |
29 | #ifndef __mips_REGNAME_H_ |
2 | #define __mips_REGNAME_H_ |
30 | #define __mips_REGNAME_H_ |
3 | 31 | ||
4 | #define zero 0 |
32 | #define zero 0 |
5 | #define at 1 |
33 | #define at 1 |
6 | #define v0 2 |
34 | #define v0 2 |
7 | #define v1 3 |
35 | #define v1 3 |
8 | #define a0 4 |
36 | #define a0 4 |
9 | #define a1 5 |
37 | #define a1 5 |
10 | #define a2 6 |
38 | #define a2 6 |
11 | #define a3 7 |
39 | #define a3 7 |
12 | #define t0 8 |
40 | #define t0 8 |
13 | #define t1 9 |
41 | #define t1 9 |
14 | #define t2 10 |
42 | #define t2 10 |
15 | #define t3 11 |
43 | #define t3 11 |
16 | #define t4 12 |
44 | #define t4 12 |
17 | #define t5 13 |
45 | #define t5 13 |
18 | #define t6 14 |
46 | #define t6 14 |
19 | #define t7 15 |
47 | #define t7 15 |
20 | #define s0 16 |
48 | #define s0 16 |
21 | #define s1 17 |
49 | #define s1 17 |
22 | #define s2 18 |
50 | #define s2 18 |
23 | #define s3 19 |
51 | #define s3 19 |
24 | #define s4 20 |
52 | #define s4 20 |
25 | #define s5 21 |
53 | #define s5 21 |
26 | #define s6 22 |
54 | #define s6 22 |
27 | #define s7 23 |
55 | #define s7 23 |
28 | #define t8 24 |
56 | #define t8 24 |
29 | #define t9 25 |
57 | #define t9 25 |
30 | #define k0 26 |
58 | #define k0 26 |
31 | #define k1 27 |
59 | #define k1 27 |
32 | #define gp 28 |
60 | #define gp 28 |
33 | #define sp 29 |
61 | #define sp 29 |
34 | #define s8 30 |
62 | #define s8 30 |
35 | #define ra 31 |
63 | #define ra 31 |
36 | 64 | ||
37 | #define index 0 |
65 | #define index 0 |
38 | #define random 1 |
66 | #define random 1 |
39 | #define entrylo0 2 |
67 | #define entrylo0 2 |
40 | #define entrylo1 3 |
68 | #define entrylo1 3 |
41 | #define context 4 |
69 | #define context 4 |
42 | #define pagemask 5 |
70 | #define pagemask 5 |
43 | #define wired 6 |
71 | #define wired 6 |
44 | #define badvaddr 8 |
72 | #define badvaddr 8 |
45 | #define count 9 |
73 | #define count 9 |
46 | #define entryhi 10 |
74 | #define entryhi 10 |
47 | #define compare 11 |
75 | #define compare 11 |
48 | #define status 12 |
76 | #define status 12 |
49 | #define cause 13 |
77 | #define cause 13 |
50 | #define epc 14 |
78 | #define epc 14 |
51 | #define config 16 |
79 | #define config 16 |
52 | #define lladdr 17 |
80 | #define lladdr 17 |
53 | #define watchlo 18 |
81 | #define watchlo 18 |
54 | #define watchhi 19 |
82 | #define watchhi 19 |
55 | #define xcontext 20 |
83 | #define xcontext 20 |
56 | #define debug 23 |
84 | #define debug 23 |
57 | #define depc 24 |
85 | #define depc 24 |
58 | #define eepc 30 |
86 | #define eepc 30 |
59 | 87 | ||
60 | 88 | ||
61 | #endif /* _REGNAME_H_ */ |
89 | #endif /* _REGNAME_H_ */ |
62 | 90 |