Rev 1962 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1962 | Rev 1968 | ||
---|---|---|---|
1 | OBJECT cpu0 TYPE mips-4kc { |
1 | OBJECT cpu0 TYPE mips-4kc { |
2 | freq-mhz: 10 |
2 | freq-mhz: 10 |
3 | queue: cpu0 |
3 | queue: cpu0 |
4 | physical-memory: phys-mem0 |
4 | physical-memory: phys-mem0 |
5 | } |
5 | } |
6 | 6 | ||
7 | OBJECT phys-mem0 TYPE memory-space { |
7 | OBJECT phys-mem0 TYPE memory-space { |
8 | map: ((0x18000020, pic0, 0, 0x20, 1), |
8 | map: ((0x18000020, pic0, 0, 0x20, 1), |
9 | (0x18000021, pic0, 0, 0x21, 1), |
9 | (0x18000021, pic0, 0, 0x21, 1), |
10 | (0x180000a0, pic0, 0, 0xa0, 1), |
10 | (0x180000a0, pic0, 0, 0xa0, 1), |
11 | (0x180000a1, pic0, 0, 0xa1, 1), |
11 | (0x180000a1, pic0, 0, 0xa1, 1), |
12 | (0x180004d0, pic0, 0, 0x4d0, 1), |
12 | (0x180004d0, pic0, 0, 0x4d0, 1), |
13 | (0x180004d1, pic0, 0, 0x4d1, 1), |
13 | (0x180004d1, pic0, 0, 0x4d1, 1), |
14 | (0x18000070, rtc0, 0, 0, 1), |
14 | (0x18000070, rtc0, 0, 0, 1), |
15 | (0x18000071, rtc0, 0, 1, 1), |
15 | (0x18000071, rtc0, 0, 1, 1), |
16 | (0x180003f8, tty0, 0, 0, 1), |
16 | (0x180003f8, tty0, 0, 0, 1), |
17 | (0x180003f9, tty0, 0, 1, 1), |
17 | (0x180003f9, tty0, 0, 1, 1), |
18 | (0x180003fa, tty0, 0, 2, 1), |
18 | (0x180003fa, tty0, 0, 2, 1), |
19 | (0x180003fb, tty0, 0, 3, 1), |
19 | (0x180003fb, tty0, 0, 3, 1), |
20 | (0x180003fc, tty0, 0, 4, 1), |
20 | (0x180003fc, tty0, 0, 4, 1), |
21 | (0x180003fd, tty0, 0, 5, 1), |
21 | (0x180003fd, tty0, 0, 5, 1), |
22 | (0x180003fe, tty0, 0, 6, 1), |
22 | (0x180003fe, tty0, 0, 6, 1), |
23 | (0x180003ff, tty0, 0, 7, 1), |
23 | (0x180003ff, tty0, 0, 7, 1), |
24 | (0x1c000000, hfs0, 0, 0, 16)) |
24 | (0x1c000000, hfs0, 0, 0, 16)) |
25 | } |
25 | } |
26 | 26 | ||
27 | OBJECT cbus-space TYPE memory-space { |
27 | OBJECT cbus-space TYPE memory-space { |
28 | map: ((0x1f000000, malta0, 0, 0, 0xc00000), |
28 | map: ((0x1f000000, malta0, 0, 0, 0xc00000), |
29 | (0x1fc00000, rom0, 0, 0, 0x400000)) |
29 | (0x1fc00000, rom0, 0, 0, 0x400000)) |
30 | } |
30 | } |
31 | 31 | ||
32 | OBJECT memory0 TYPE ram { |
32 | OBJECT memory0 TYPE ram { |
33 | image: memory0-image |
33 | image: memory0-image |
34 | } |
34 | } |
35 | OBJECT memory0-image TYPE image { |
35 | OBJECT memory0-image TYPE image { |
36 | queue: cpu0 |
36 | queue: cpu0 |
37 | size: 0x08000000 |
37 | size: 0x08000000 |
38 | } |
38 | } |
39 | OBJECT rom0 TYPE rom { |
39 | OBJECT rom0 TYPE rom { |
40 | image: rom0-image |
40 | image: rom0-image |
41 | } |
41 | } |
42 | OBJECT rom0-image TYPE image { |
42 | OBJECT rom0-image TYPE image { |
43 | queue: cpu0 |
43 | queue: cpu0 |
44 | size: 0x00400000 |
44 | size: 0x00400000 |
45 | } |
45 | } |
46 | 46 | ||
47 | OBJECT tty0 TYPE NS16550 { |
47 | OBJECT tty0 TYPE NS16550 { |
48 | irq-dev: pic0 |
48 | irq-dev: pic0 |
49 | irq-level: 4 |
49 | irq-level: 4 |
50 | queue: cpu0 |
50 | queue: cpu0 |
51 | console: con0 |
51 | console: con0 |
52 | recorder: rec0 |
52 | recorder: rec0 |
53 | } |
53 | } |
54 | 54 | ||
55 | OBJECT pic0 TYPE i8259x2 { |
55 | OBJECT pic0 TYPE i8259x2 { |
56 | queue: cpu0 |
56 | queue: cpu0 |
57 | irq-dev: gt64120-0 |
57 | irq-dev: gt64120-0 |
58 | # It seems like Linux expects the master 8259 to have VBA 0. |
58 | # It seems like Linux expects the master 8259 to have VBA 0. |
59 | # Maybe that would be set up by YAMON? |
59 | # Maybe that would be set up by YAMON? |
60 | vba: (0, 1) |
60 | vba: (0, 1) |
61 | } |
61 | } |
62 | 62 | ||
63 | OBJECT con0 TYPE xterm-console { |
63 | OBJECT con0 TYPE xterm-console { |
64 | title: "mips32-test-machine" |
64 | title: "mips32-test-machine" |
65 | bg-color: "black" |
65 | bg-color: "black" |
66 | fg-color: "green" |
66 | fg-color: "green" |
67 | queue: cpu0 |
67 | queue: cpu0 |
68 | device: tty0 |
68 | device: tty0 |
69 | output-timeout: 120 |
69 | output-timeout: 120 |
70 | } |
70 | } |
71 | 71 | ||
72 | OBJECT rtc0 TYPE DS12887 { |
72 | OBJECT rtc0 TYPE DS12887 { |
73 | irq-dev: pic0 |
73 | irq-dev: pic0 |
74 | irq-level: 8 |
74 | irq-level: 8 |
75 | queue: cpu0 |
75 | queue: cpu0 |
76 | } |
76 | } |
77 | 77 | ||
78 | OBJECT malta0 TYPE malta { |
78 | OBJECT malta0 TYPE malta { |
79 | console: display0 |
79 | console: display0 |
80 | } |
80 | } |
81 | 81 | ||
82 | OBJECT display0 TYPE xterm-console { |
82 | OBJECT display0 TYPE xterm-console { |
83 | title: "MALTA Display" |
83 | title: "MALTA Display" |
84 | bg-color: "black" |
84 | bg-color: "black" |
85 | fg-color: "red" |
85 | fg-color: "red" |
86 | width: 8 |
86 | width: 8 |
87 | height: 1 |
87 | height: 1 |
88 | scrollbar: 0 |
88 | scrollbar: 0 |
89 | x11-font: "-*-*-*-r-*-*-*-240-*-*-m-*-*-*" |
89 | x11-font: "-*-*-*-r-*-*-*-240-*-*-m-*-*-*" |
90 | win32-font: "Lucida Console:Bold:48" |
90 | win32-font: "Lucida Console:Bold:48" |
91 | queue: cpu0 |
91 | queue: cpu0 |
92 | output-timeout: 120 |
92 | output-timeout: 120 |
93 | } |
93 | } |
94 | 94 | ||
95 | # PCI buses |
95 | # PCI buses |
96 | OBJECT pci-bus0 TYPE pci-bus { |
96 | OBJECT pci-bus0 TYPE pci-bus { |
97 | queue: cpu0 |
97 | queue: cpu0 |
98 | bridge: gt64120-0-pci-0-0 |
98 | bridge: gt64120-0-pci-0-0 |
99 | interrupt: gt64120-0-pci-0-0 |
99 | interrupt: gt64120-0-pci-0-0 |
100 | conf-space: pci-bus0-conf-space |
100 | conf-space: pci-bus0-conf-space |
101 | memory-space: pci-bus0-memory-space |
101 | memory-space: pci-bus0-memory-space |
102 | io-space: pci-bus0-io-space |
102 | io-space: pci-bus0-io-space |
103 | 103 | ||
104 | pci-devices: ((0, 0, gt64120-0-pci-0-0), |
104 | pci-devices: ((0, 0, gt64120-0-pci-0-0), |
105 | (0, 1, gt64120-0-pci-0-1)) |
105 | (0, 1, gt64120-0-pci-0-1)) |
106 | } |
106 | } |
107 | 107 | ||
108 | OBJECT pci-bus0-conf-space TYPE memory-space { |
108 | OBJECT pci-bus0-conf-space TYPE memory-space { |
109 | queue: cpu0 |
109 | queue: cpu0 |
110 | } |
110 | } |
111 | 111 | ||
112 | OBJECT pci-bus1-conf-space TYPE memory-space { |
112 | OBJECT pci-bus1-conf-space TYPE memory-space { |
113 | queue: cpu0 |
113 | queue: cpu0 |
114 | } |
114 | } |
115 | 115 | ||
116 | OBJECT pci-bus0-memory-space TYPE memory-space { |
116 | OBJECT pci-bus0-memory-space TYPE memory-space { |
117 | queue: cpu0 |
117 | queue: cpu0 |
118 | } |
118 | } |
119 | 119 | ||
120 | OBJECT pci-bus1 TYPE pci-bus { |
120 | OBJECT pci-bus1 TYPE pci-bus { |
121 | queue: cpu0 |
121 | queue: cpu0 |
122 | bridge: gt64120-0-pci-1-0 |
122 | bridge: gt64120-0-pci-1-0 |
123 | interrupt: gt64120-0-pci-1-0 |
123 | interrupt: gt64120-0-pci-1-0 |
124 | conf-space: pci-bus1-conf-space |
124 | conf-space: pci-bus1-conf-space |
125 | memory-space: pci-bus1-memory-space |
125 | memory-space: pci-bus1-memory-space |
126 | io-space: pci-bus1-io-space |
126 | io-space: pci-bus1-io-space |
127 | 127 | ||
128 | pci-devices: ((0, 0, gt64120-0-pci-1-0), |
128 | pci-devices: ((0, 0, gt64120-0-pci-1-0), |
129 | (0, 1, gt64120-0-pci-1-1)) |
129 | (0, 1, gt64120-0-pci-1-1)) |
130 | } |
130 | } |
131 | 131 | ||
132 | OBJECT pci-bus1-memory-space TYPE memory-space { |
132 | OBJECT pci-bus1-memory-space TYPE memory-space { |
133 | queue: cpu0 |
133 | queue: cpu0 |
134 | } |
134 | } |
135 | 135 | ||
136 | OBJECT pci-bus0-io-space TYPE memory-space { |
136 | OBJECT pci-bus0-io-space TYPE memory-space { |
137 | queue: cpu0 |
137 | queue: cpu0 |
138 | } |
138 | } |
139 | 139 | ||
140 | OBJECT pci-bus1-io-space TYPE memory-space { |
140 | OBJECT pci-bus1-io-space TYPE memory-space { |
141 | queue: cpu0 |
141 | queue: cpu0 |
142 | } |
142 | } |
143 | 143 | ||
144 | # GT64120 chipset |
144 | # GT64120 chipset |
145 | OBJECT gt64120-0 TYPE GT64120 { |
145 | OBJECT gt64120-0 TYPE GT64120 { |
146 | queue: cpu0 |
146 | queue: cpu0 |
147 | cpu-mem: phys-mem0 |
147 | cpu-mem: phys-mem0 |
148 | 148 | ||
149 | pci-0-0: gt64120-0-pci-0-0 |
149 | pci-0-0: gt64120-0-pci-0-0 |
150 | pci-0-1: gt64120-0-pci-0-1 |
150 | pci-0-1: gt64120-0-pci-0-1 |
151 | pci-1-0: gt64120-0-pci-1-0 |
151 | pci-1-0: gt64120-0-pci-1-0 |
152 | pci-1-1: gt64120-0-pci-1-1 |
152 | pci-1-1: gt64120-0-pci-1-1 |
153 | 153 | ||
154 | scs0: memory0 |
154 | scs0: memory0 |
155 | cs3: cbus-space |
155 | cs3: cbus-space |
156 | bootcs: cbus-space |
156 | bootcs: cbus-space |
157 | pci-0-conf: pci-bus0-conf-space |
157 | pci-0-conf: pci-bus0-conf-space |
158 | pci-0-io: pci-bus0-io-space |
158 | pci-0-io: pci-bus0-io-space |
159 | pci-0-memory: pci-bus0-memory-space |
159 | pci-0-memory: pci-bus0-memory-space |
160 | pci-1-conf: pci-bus1-conf-space |
160 | pci-1-conf: pci-bus1-conf-space |
161 | pci-1-io: pci-bus1-io-space |
161 | pci-1-io: pci-bus1-io-space |
162 | pci-1-memory: pci-bus1-memory-space |
162 | pci-1-memory: pci-bus1-memory-space |
163 | 163 | ||
164 | irq-dev: cpu0 |
164 | irq-dev: cpu0 |
165 | irq-level: 2 |
165 | irq-level: 2 |
166 | 166 | ||
167 | # Little endian |
167 | # Little endian |
168 | cpu_interface_configuration: 0x00041000 |
168 | cpu_interface_configuration: 0x00041000 |
169 | 169 | ||
170 | # Map 128MB RAM. |
170 | # Map 128MB RAM. |
171 | scs10-high-decode-address: 0x40 |
171 | scs10-high-decode-address: 0x40 |
172 | scs0-low-decode-address: 0x0 |
172 | scs0-low-decode-address: 0x0 |
173 | scs0-high-decode-address: 0x7f |
173 | scs0-high-decode-address: 0x7f |
174 | 174 | ||
175 | # Map the internal registers at 0x1be00000. |
175 | # Map the internal registers at 0x1be00000. |
176 | internal-space-decode: 0xdf |
176 | internal-space-decode: 0xdf |
177 | 177 | ||
178 | # Disable host-PCI mappings |
178 | # Disable host-PCI mappings |
179 | pci-0-io-high-decode-address: 0 |
179 | pci-0-io-high-decode-address: 0 |
180 | pci-0-io-low-decode-address: 1 |
180 | pci-0-io-low-decode-address: 1 |
181 | pci-0-io-remap: 1 |
181 | pci-0-io-remap: 1 |
182 | pci-0-memory-0-high-decode-address: 0 |
182 | pci-0-memory-0-high-decode-address: 0 |
183 | pci-0-memory-0-low-decode-address: 1 |
183 | pci-0-memory-0-low-decode-address: 1 |
184 | pci-0-memory-0-remap: 1 |
184 | pci-0-memory-0-remap: 1 |
185 | pci-0-memory-1-high-decode-address: 0 |
185 | pci-0-memory-1-high-decode-address: 0 |
186 | pci-0-memory-1-low-decode-address: 1 |
186 | pci-0-memory-1-low-decode-address: 1 |
187 | pci-0-memory-1-remap: 1 |
187 | pci-0-memory-1-remap: 1 |
188 | pci-1-io-high-decode-address: 0 |
188 | pci-1-io-high-decode-address: 0 |
189 | pci-1-io-low-decode-address: 1 |
189 | pci-1-io-low-decode-address: 1 |
190 | pci-1-io-remap: 1 |
190 | pci-1-io-remap: 1 |
191 | pci-1-memory-0-high-decode-address: 0 |
191 | pci-1-memory-0-high-decode-address: 0 |
192 | pci-1-memory-0-low-decode-address: 1 |
192 | pci-1-memory-0-low-decode-address: 1 |
193 | pci-1-memory-0-remap: 1 |
193 | pci-1-memory-0-remap: 1 |
194 | pci-1-memory-1-high-decode-address: 0 |
194 | pci-1-memory-1-high-decode-address: 0 |
195 | pci-1-memory-1-low-decode-address: 1 |
195 | pci-1-memory-1-low-decode-address: 1 |
196 | pci-1-memory-1-remap: 1 |
196 | pci-1-memory-1-remap: 1 |
197 | 197 | ||
198 | # Disable PCI-host mappings |
198 | # Disable PCI-host mappings |
199 | pci-0-base-address-registers-enable: 0x1ff |
199 | pci-0-base-address-registers-enable: 0x1ff |
200 | pci-1-base-address-registers-enable: 0x1ff |
200 | pci-1-base-address-registers-enable: 0x1ff |
201 | } |
201 | } |
202 | 202 | ||
203 | OBJECT gt64120-0-pci-0-0 TYPE GT64120-pci { |
203 | OBJECT gt64120-0-pci-0-0 TYPE GT64120-pci { |
204 | queue: cpu0 |
204 | queue: cpu0 |
205 | 205 | ||
206 | gt64120: gt64120-0 |
206 | gt64120: gt64120-0 |
207 | bridge-num: 0 |
207 | bridge-num: 0 |
208 | function-num: 0 |
208 | function-num: 0 |
209 | 209 | ||
210 | pci-bus: pci-bus0 |
210 | pci-bus: pci-bus0 |
211 | } |
211 | } |
212 | 212 | ||
213 | OBJECT gt64120-0-pci-0-1 TYPE GT64120-pci { |
213 | OBJECT gt64120-0-pci-0-1 TYPE GT64120-pci { |
214 | queue: cpu0 |
214 | queue: cpu0 |
215 | 215 | ||
216 | gt64120: gt64120-0 |
216 | gt64120: gt64120-0 |
217 | bridge-num: 0 |
217 | bridge-num: 0 |
218 | function-num: 1 |
218 | function-num: 1 |
219 | 219 | ||
220 | pci-bus: pci-bus0 |
220 | pci-bus: pci-bus0 |
221 | } |
221 | } |
222 | 222 | ||
223 | OBJECT gt64120-0-pci-1-0 TYPE GT64120-pci { |
223 | OBJECT gt64120-0-pci-1-0 TYPE GT64120-pci { |
224 | queue: cpu0 |
224 | queue: cpu0 |
225 | 225 | ||
226 | gt64120: gt64120-0 |
226 | gt64120: gt64120-0 |
227 | bridge-num: 1 |
227 | bridge-num: 1 |
228 | function-num: 0 |
228 | function-num: 0 |
229 | 229 | ||
230 | pci-bus: pci-bus1 |
230 | pci-bus: pci-bus1 |
231 | } |
231 | } |
232 | 232 | ||
233 | OBJECT gt64120-0-pci-1-1 TYPE GT64120-pci { |
233 | OBJECT gt64120-0-pci-1-1 TYPE GT64120-pci { |
234 | queue: cpu0 |
234 | queue: cpu0 |
235 | 235 | ||
236 | gt64120: gt64120-0 |
236 | gt64120: gt64120-0 |
237 | bridge-num: 1 |
237 | bridge-num: 1 |
238 | function-num: 1 |
238 | function-num: 1 |
239 | 239 | ||
240 | pci-bus: pci-bus1 |
240 | pci-bus: pci-bus1 |
241 | } |
241 | } |
242 | 242 | ||
243 | # Various |
243 | # Various |
244 | OBJECT rec0 TYPE recorder { |
244 | OBJECT rec0 TYPE recorder { |
245 | } |
245 | } |
246 | 246 | ||
247 | OBJECT hfs0 TYPE hostfs { |
247 | OBJECT hfs0 TYPE hostfs { |
248 | } |
248 | } |
249 | 249 | ||
250 | OBJECT sim TYPE sim { |
250 | OBJECT sim TYPE sim { |
251 | handle-outside-memory: 1 |
251 | handle-outside-memory: 1 |
252 | } |
252 | } |
253 | 253 |