mips: Delete authors lists from mips files.
[gem5.git] / src / arch / mips / dt_constants.hh
1 /*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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 are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution;
12 * neither the name of the copyright holders nor the names of its
13 * contributors may be used to endorse or promote products derived from
14 * this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * 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
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29 #ifndef __ARCH_MIPS_DT_CONSTANTS_HH__
30 #define __ARCH_MIPS_DT_CONSTANTS_HH__
31
32 #include "arch/mips/types.hh"
33 #include "base/bitunion.hh"
34
35 namespace MipsISA
36 {
37
38 BitUnion32(DebugReg)
39 Bitfield<31> dbd;
40 Bitfield<30> dm;
41 Bitfield<29> nodcr;
42 Bitfield<28> lsnm;
43 Bitfield<27> doze;
44 Bitfield<26> halt;
45 Bitfield<25> conutdm;
46 Bitfield<24> ibusep;
47 Bitfield<23> mcheckep;
48 Bitfield<22> cacheep;
49 Bitfield<21> dbusep;
50 Bitfield<20, 19> iexi;
51 Bitfield<19> ddbsImpr;
52 Bitfield<18> ddblImpr;
53 SubBitUnion(ejtagVer, 17, 15)
54 Bitfield<17> ejtagVer2;
55 Bitfield<16> ejtagVer1;
56 Bitfield<15> ejtagVer0;
57 EndSubBitUnion(ejtagVer)
58 Bitfield<14, 10> dexcCode;
59 Bitfield<9> nosst;
60 Bitfield<8> sst;
61 Bitfield<7> offline;
62 Bitfield<6> dibimpr;
63 Bitfield<5> dint;
64 Bitfield<4> dib;
65 Bitfield<3> ddbs;
66 Bitfield<2> ddbl;
67 Bitfield<1> dbp;
68 Bitfield<0> dss;
69 EndBitUnion(DebugReg)
70
71 BitUnion32(TraceControlReg)
72 Bitfield<31> ts;
73 Bitfield<30> ut;
74 Bitfield<27> tb;
75 Bitfield<26> io;
76 Bitfield<25> d;
77 Bitfield<24> e;
78 Bitfield<23> k;
79 Bitfield<22> s;
80 Bitfield<21> u;
81 Bitfield<20, 13> asidM;
82 Bitfield<12, 5> asid;
83 Bitfield<4> g;
84 Bitfield<3> tfcr;
85 Bitfield<2> tlsm;
86 Bitfield<1> tim;
87 Bitfield<0> on;
88 EndBitUnion(TraceControlReg)
89
90 BitUnion32(TraceControl2Reg)
91 Bitfield<29> cpuidv;
92 Bitfield<28, 21> cpuid;
93 Bitfield<20> tcv;
94 Bitfield<19, 12> tcnum;
95 Bitfield<11, 7> mode;
96 Bitfield<6, 5> validModes;
97 Bitfield<4> tbi;
98 Bitfield<3> tbu;
99 Bitfield<2, 0> syp;
100 EndBitUnion(TraceControl2Reg)
101
102 BitUnion32(TraceBPCReg)
103 Bitfield<31> mb;
104 Bitfield<28> e;
105 Bitfield<27> ate;
106 Bitfield<26, 24> bpc8;
107 Bitfield<23, 21> bpc7;
108 Bitfield<20, 18> bpc6;
109 Bitfield<17, 15> bpc5;
110 Bitfield<14, 12> bpc4;
111 Bitfield<11, 9> bpc3;
112 Bitfield<8, 6> bpc2;
113 Bitfield<5, 3> bpc1;
114 Bitfield<2, 0> bpc0;
115 EndBitUnion(TraceBPCReg)
116
117 BitUnion32(TraceBPC2Reg)
118 Bitfield<17, 15> bpc14;
119 Bitfield<14, 12> bpc13;
120 Bitfield<11, 9> bpc12;
121 Bitfield<8, 6> bpc11;
122 Bitfield<5, 3> bpc10;
123 Bitfield<2, 0> bpc9;
124 EndBitUnion(TraceBPC2Reg)
125
126 BitUnion32(Debug2Reg)
127 Bitfield<3> prm;
128 Bitfield<2> dq;
129 Bitfield<1> tup;
130 Bitfield<0> paco;
131 EndBitUnion(Debug2Reg)
132 } // namespace MipsISA
133
134 #endif