source: mainline/boot/arch/mips32/loader/regname.h@ de7663f

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since de7663f was de7663f, checked in by Jakub Jermar <jakub@…>, 18 years ago

Remove some forgotten \r from arm32 files.
Formatting changes.
Add some correct BOOT_mips32_* guards.

  • Property mode set to 100644
File size: 2.5 KB
Line 
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
29#ifndef BOOT_mips32_REGNAME_H_
30#define BOOT_mips32_REGNAME_H_
31
32#define zero 0
33#define at 1
34#define v0 2
35#define v1 3
36#define a0 4
37#define a1 5
38#define a2 6
39#define a3 7
40#define t0 8
41#define t1 9
42#define t2 10
43#define t3 11
44#define t4 12
45#define t5 13
46#define t6 14
47#define t7 15
48#define s0 16
49#define s1 17
50#define s2 18
51#define s3 19
52#define s4 20
53#define s5 21
54#define s6 22
55#define s7 23
56#define t8 24
57#define t9 25
58#define k0 26
59#define k1 27
60#define gp 28
61#define sp 29
62#define s8 30
63#define ra 31
64
65#define rindex 0
66#define rrandom 1
67#define entrylo0 2
68#define entrylo1 3
69#define context 4
70#define pagemask 5
71#define wired 6
72#define badvaddr 8
73#define count 9
74#define entryhi 10
75#define compare 11
76#define status 12
77#define cause 13
78#define epc 14
79#define rconfig 16
80#define lladdr 17
81#define watchlo 18
82#define watchhi 19
83#define xcontext 20
84#define rdebug 23
85#define depc 24
86#define eepc 30
87
88#endif /* _REGNAME_H_ */
Note: See TracBrowser for help on using the repository browser.