Ben Skeggs | e3c71eb | 2015-01-14 15:29:43 +1000 | [diff] [blame] | 1 | uint32_t gk208_grgpc_data[] = { |
Ben Skeggs | 96616b4 | 2013-11-05 14:49:49 +1000 | [diff] [blame] | 2 | /* 0x0000: gpc_mmio_list_head */ |
| 3 | 0x0000006c, |
| 4 | /* 0x0004: gpc_mmio_list_tail */ |
| 5 | /* 0x0004: tpc_mmio_list_head */ |
| 6 | 0x0000006c, |
| 7 | /* 0x0008: tpc_mmio_list_tail */ |
| 8 | /* 0x0008: unk_mmio_list_head */ |
| 9 | 0x0000006c, |
| 10 | /* 0x000c: unk_mmio_list_tail */ |
| 11 | 0x0000006c, |
| 12 | /* 0x0010: gpc_id */ |
| 13 | 0x00000000, |
| 14 | /* 0x0014: tpc_count */ |
| 15 | 0x00000000, |
| 16 | /* 0x0018: tpc_mask */ |
| 17 | 0x00000000, |
| 18 | /* 0x001c: unk_count */ |
| 19 | 0x00000000, |
| 20 | /* 0x0020: unk_mask */ |
| 21 | 0x00000000, |
| 22 | /* 0x0024: cmd_queue */ |
| 23 | 0x00000000, |
| 24 | 0x00000000, |
| 25 | 0x00000000, |
| 26 | 0x00000000, |
| 27 | 0x00000000, |
| 28 | 0x00000000, |
| 29 | 0x00000000, |
| 30 | 0x00000000, |
| 31 | 0x00000000, |
| 32 | 0x00000000, |
| 33 | 0x00000000, |
| 34 | 0x00000000, |
| 35 | 0x00000000, |
| 36 | 0x00000000, |
| 37 | 0x00000000, |
| 38 | 0x00000000, |
| 39 | 0x00000000, |
| 40 | 0x00000000, |
| 41 | }; |
| 42 | |
Ben Skeggs | e3c71eb | 2015-01-14 15:29:43 +1000 | [diff] [blame] | 43 | uint32_t gk208_grgpc_code[] = { |
Ben Skeggs | 96616b4 | 2013-11-05 14:49:49 +1000 | [diff] [blame] | 44 | 0x03140ef5, |
| 45 | /* 0x0004: queue_put */ |
| 46 | 0x9800d898, |
| 47 | 0x86f001d9, |
| 48 | 0xf489a408, |
| 49 | 0x020f0b1b, |
| 50 | 0x0002f87e, |
| 51 | /* 0x001a: queue_put_next */ |
| 52 | 0x98c400f8, |
| 53 | 0x0384b607, |
| 54 | 0xb6008dbb, |
| 55 | 0x8eb50880, |
| 56 | 0x018fb500, |
| 57 | 0xf00190b6, |
| 58 | 0xd9b50f94, |
| 59 | /* 0x0037: queue_get */ |
| 60 | 0xf400f801, |
| 61 | 0xd8980131, |
| 62 | 0x01d99800, |
| 63 | 0x0bf489a4, |
| 64 | 0x0789c421, |
| 65 | 0xbb0394b6, |
| 66 | 0x90b6009d, |
| 67 | 0x009e9808, |
| 68 | 0xb6019f98, |
| 69 | 0x84f00180, |
| 70 | 0x00d8b50f, |
| 71 | /* 0x0063: queue_get_done */ |
| 72 | 0xf80132f4, |
| 73 | /* 0x0065: nv_rd32 */ |
| 74 | 0xf0ecb200, |
| 75 | 0x00801fc9, |
| 76 | 0x0cf601ca, |
| 77 | /* 0x0073: nv_rd32_wait */ |
| 78 | 0x8c04bd00, |
| 79 | 0xcf01ca00, |
| 80 | 0xccc800cc, |
| 81 | 0xf61bf41f, |
| 82 | 0xec7e060a, |
| 83 | 0x008f0000, |
| 84 | 0xffcf01cb, |
| 85 | /* 0x008f: nv_wr32 */ |
| 86 | 0x8000f800, |
| 87 | 0xf601cc00, |
| 88 | 0x04bd000f, |
| 89 | 0xc9f0ecb2, |
| 90 | 0x1ec9f01f, |
| 91 | 0x01ca0080, |
| 92 | 0xbd000cf6, |
| 93 | /* 0x00a9: nv_wr32_wait */ |
| 94 | 0xca008c04, |
| 95 | 0x00cccf01, |
| 96 | 0xf41fccc8, |
| 97 | 0x00f8f61b, |
| 98 | /* 0x00b8: wait_donez */ |
| 99 | 0x99f094bd, |
| 100 | 0x37008000, |
| 101 | 0x0009f602, |
| 102 | 0x008004bd, |
| 103 | 0x0af60206, |
| 104 | /* 0x00cf: wait_donez_ne */ |
| 105 | 0x8804bd00, |
| 106 | 0xcf010000, |
| 107 | 0x8aff0088, |
| 108 | 0xf61bf488, |
| 109 | 0x99f094bd, |
| 110 | 0x17008000, |
| 111 | 0x0009f602, |
| 112 | 0x00f804bd, |
| 113 | /* 0x00ec: wait_doneo */ |
| 114 | 0x99f094bd, |
| 115 | 0x37008000, |
| 116 | 0x0009f602, |
| 117 | 0x008004bd, |
| 118 | 0x0af60206, |
| 119 | /* 0x0103: wait_doneo_e */ |
| 120 | 0x8804bd00, |
| 121 | 0xcf010000, |
| 122 | 0x8aff0088, |
| 123 | 0xf60bf488, |
| 124 | 0x99f094bd, |
| 125 | 0x17008000, |
| 126 | 0x0009f602, |
| 127 | 0x00f804bd, |
| 128 | /* 0x0120: mmctx_size */ |
| 129 | /* 0x0122: nv_mmctx_size_loop */ |
| 130 | 0xe89894bd, |
| 131 | 0x1a85b600, |
| 132 | 0xb60180b6, |
| 133 | 0x98bb0284, |
| 134 | 0x04e0b600, |
| 135 | 0x1bf4efa4, |
| 136 | 0xf89fb2ec, |
| 137 | /* 0x013d: mmctx_xfer */ |
| 138 | 0xf094bd00, |
| 139 | 0x00800199, |
| 140 | 0x09f60237, |
| 141 | 0xbd04bd00, |
| 142 | 0x05bbfd94, |
| 143 | 0x800f0bf4, |
| 144 | 0xf601c400, |
| 145 | 0x04bd000b, |
| 146 | /* 0x015f: mmctx_base_disabled */ |
| 147 | 0xfd0099f0, |
| 148 | 0x0bf405ee, |
| 149 | 0xc6008018, |
| 150 | 0x000ef601, |
| 151 | 0x008004bd, |
| 152 | 0x0ff601c7, |
| 153 | 0xf004bd00, |
| 154 | /* 0x017a: mmctx_multi_disabled */ |
| 155 | 0xabc80199, |
| 156 | 0x10b4b600, |
| 157 | 0xc80cb9f0, |
| 158 | 0xe4b601ae, |
| 159 | 0x05befd11, |
| 160 | 0x01c50080, |
| 161 | 0xbd000bf6, |
| 162 | /* 0x0195: mmctx_exec_loop */ |
| 163 | /* 0x0195: mmctx_wait_free */ |
| 164 | 0xc5008e04, |
| 165 | 0x00eecf01, |
| 166 | 0xf41fe4f0, |
| 167 | 0xce98f60b, |
| 168 | 0x05e9fd00, |
| 169 | 0x01c80080, |
| 170 | 0xbd000ef6, |
| 171 | 0x04c0b604, |
| 172 | 0x1bf4cda4, |
| 173 | 0x02abc8df, |
| 174 | /* 0x01bf: mmctx_fini_wait */ |
| 175 | 0x8b1c1bf4, |
| 176 | 0xcf01c500, |
| 177 | 0xb4f000bb, |
| 178 | 0x10b4b01f, |
| 179 | 0x0af31bf4, |
Ben Skeggs | 295cb52 | 2014-03-07 12:33:56 +1000 | [diff] [blame] | 180 | 0x00b87e05, |
Ben Skeggs | 96616b4 | 2013-11-05 14:49:49 +1000 | [diff] [blame] | 181 | 0x250ef400, |
| 182 | /* 0x01d8: mmctx_stop */ |
| 183 | 0xb600abc8, |
| 184 | 0xb9f010b4, |
| 185 | 0x12b9f00c, |
| 186 | 0x01c50080, |
| 187 | 0xbd000bf6, |
| 188 | /* 0x01ed: mmctx_stop_wait */ |
| 189 | 0xc5008b04, |
| 190 | 0x00bbcf01, |
| 191 | 0xf412bbc8, |
| 192 | /* 0x01fa: mmctx_done */ |
| 193 | 0x94bdf61b, |
| 194 | 0x800199f0, |
| 195 | 0xf6021700, |
| 196 | 0x04bd0009, |
| 197 | /* 0x020a: strand_wait */ |
| 198 | 0xa0f900f8, |
| 199 | 0xb87e020a, |
| 200 | 0xa0fc0000, |
| 201 | /* 0x0216: strand_pre */ |
| 202 | 0x0c0900f8, |
| 203 | 0x024afc80, |
| 204 | 0xbd0009f6, |
| 205 | 0x020a7e04, |
| 206 | /* 0x0227: strand_post */ |
| 207 | 0x0900f800, |
| 208 | 0x4afc800d, |
| 209 | 0x0009f602, |
| 210 | 0x0a7e04bd, |
| 211 | 0x00f80002, |
| 212 | /* 0x0238: strand_set */ |
| 213 | 0xfc800f0c, |
| 214 | 0x0cf6024f, |
| 215 | 0x0c04bd00, |
| 216 | 0x4afc800b, |
| 217 | 0x000cf602, |
| 218 | 0xfc8004bd, |
| 219 | 0x0ef6024f, |
| 220 | 0x0c04bd00, |
| 221 | 0x4afc800a, |
| 222 | 0x000cf602, |
| 223 | 0x0a7e04bd, |
| 224 | 0x00f80002, |
| 225 | /* 0x0268: strand_ctx_init */ |
| 226 | 0x99f094bd, |
| 227 | 0x37008003, |
| 228 | 0x0009f602, |
| 229 | 0x167e04bd, |
| 230 | 0x030e0002, |
| 231 | 0x0002387e, |
| 232 | 0xfc80c4bd, |
| 233 | 0x0cf60247, |
| 234 | 0x0c04bd00, |
| 235 | 0x4afc8001, |
| 236 | 0x000cf602, |
| 237 | 0x0a7e04bd, |
| 238 | 0x0c920002, |
| 239 | 0x46fc8001, |
| 240 | 0x000cf602, |
| 241 | 0x020c04bd, |
| 242 | 0x024afc80, |
| 243 | 0xbd000cf6, |
| 244 | 0x020a7e04, |
| 245 | 0x02277e00, |
| 246 | 0x42008800, |
| 247 | 0x20008902, |
| 248 | 0x0099cf02, |
| 249 | /* 0x02c7: ctx_init_strand_loop */ |
| 250 | 0xf608fe95, |
| 251 | 0x8ef6008e, |
| 252 | 0x808acf40, |
| 253 | 0xb606a5b6, |
| 254 | 0xeabb01a0, |
| 255 | 0x0480b600, |
| 256 | 0xf40192b6, |
| 257 | 0xe4b6e81b, |
| 258 | 0xf2efbc08, |
| 259 | 0x99f094bd, |
| 260 | 0x17008003, |
| 261 | 0x0009f602, |
| 262 | 0x00f804bd, |
| 263 | /* 0x02f8: error */ |
| 264 | 0xffb2e0f9, |
| 265 | 0x4098148e, |
| 266 | 0x00008f7e, |
| 267 | 0xffb2010f, |
| 268 | 0x409c1c8e, |
| 269 | 0x00008f7e, |
| 270 | 0x00f8e0fc, |
| 271 | /* 0x0314: init */ |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 272 | 0x004104bd, |
| 273 | 0x0011cf42, |
| 274 | 0x010911e7, |
| 275 | 0xfe0814b6, |
| 276 | 0x02020014, |
| 277 | 0xf6120040, |
| 278 | 0x04bd0002, |
Ben Skeggs | 8fd4b7d | 2015-03-10 09:20:07 +1000 | [diff] [blame] | 279 | 0xfe048141, |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 280 | 0x00400010, |
| 281 | 0x0000f607, |
| 282 | 0x040204bd, |
| 283 | 0xf6040040, |
| 284 | 0x04bd0002, |
| 285 | 0x821031f4, |
| 286 | 0xcf018200, |
| 287 | 0x01030022, |
| 288 | 0xbb1f24f0, |
| 289 | 0x32b60432, |
| 290 | 0x0502b501, |
| 291 | 0x820603b5, |
| 292 | 0xcf018600, |
| 293 | 0x02b50022, |
Ben Skeggs | 2a19b3e | 2015-04-07 18:54:40 +1000 | [diff] [blame] | 294 | 0x0f24b604, |
| 295 | 0x01c90080, |
| 296 | 0xbd0002f6, |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 297 | 0x0c308e04, |
| 298 | 0xbd24bd50, |
Ben Skeggs | 2a19b3e | 2015-04-07 18:54:40 +1000 | [diff] [blame] | 299 | /* 0x0383: init_unk_loop */ |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 300 | 0x7e44bd34, |
| 301 | 0xb0000065, |
| 302 | 0x0bf400f6, |
| 303 | 0xbb010f0e, |
| 304 | 0x4ffd04f2, |
| 305 | 0x0130b605, |
Ben Skeggs | 2a19b3e | 2015-04-07 18:54:40 +1000 | [diff] [blame] | 306 | /* 0x0398: init_unk_next */ |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 307 | 0xb60120b6, |
| 308 | 0x26b004e0, |
| 309 | 0xe21bf401, |
Ben Skeggs | 2a19b3e | 2015-04-07 18:54:40 +1000 | [diff] [blame] | 310 | /* 0x03a4: init_unk_done */ |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 311 | 0xb50703b5, |
| 312 | 0x00820804, |
| 313 | 0x22cf0201, |
| 314 | 0x9534bd00, |
| 315 | 0x00800825, |
| 316 | 0x05f601c0, |
| 317 | 0x8004bd00, |
| 318 | 0xf601c100, |
| 319 | 0x04bd0005, |
| 320 | 0x98000e98, |
| 321 | 0x207e010f, |
| 322 | 0x2fbb0001, |
| 323 | 0x003fbb00, |
| 324 | 0x98010e98, |
| 325 | 0x207e020f, |
| 326 | 0x0e980001, |
| 327 | 0x00effd05, |
| 328 | 0xbb002ebb, |
| 329 | 0x0e98003e, |
| 330 | 0x030f9802, |
| 331 | 0x0001207e, |
| 332 | 0xfd070e98, |
| 333 | 0x2ebb00ef, |
| 334 | 0x003ebb00, |
| 335 | 0x800235b6, |
| 336 | 0xf601d300, |
| 337 | 0x04bd0003, |
| 338 | 0xb60825b6, |
| 339 | 0x20b60635, |
| 340 | 0x0130b601, |
| 341 | 0xb60824b6, |
| 342 | 0x2fb20834, |
| 343 | 0x0002687e, |
Ben Skeggs | 8fd4b7d | 2015-03-10 09:20:07 +1000 | [diff] [blame] | 344 | 0xbb002fbb, |
| 345 | 0x0080003f, |
| 346 | 0x03f60201, |
| 347 | 0xbd04bd00, |
| 348 | 0x1f29f024, |
| 349 | 0x02300080, |
| 350 | 0xbd0002f6, |
| 351 | /* 0x0445: main */ |
| 352 | 0x0031f404, |
| 353 | 0x0d0028f4, |
| 354 | 0x00377e24, |
| 355 | 0xf401f400, |
| 356 | 0xf404e4b0, |
| 357 | 0x81fe1d18, |
| 358 | 0xbd060201, |
| 359 | 0x0412fd20, |
| 360 | 0xfd01e4b6, |
| 361 | 0x18fe051e, |
| 362 | 0x05187e00, |
| 363 | 0xd40ef400, |
| 364 | /* 0x0474: main_not_ctx_xfer */ |
| 365 | 0xf010ef94, |
| 366 | 0xf87e01f5, |
| 367 | 0x0ef40002, |
| 368 | /* 0x0481: ih */ |
| 369 | 0xfe80f9c7, |
| 370 | 0x80f90188, |
| 371 | 0xa0f990f9, |
| 372 | 0xd0f9b0f9, |
| 373 | 0xf0f9e0f9, |
| 374 | 0x004a04bd, |
| 375 | 0x00aacf02, |
| 376 | 0xf404abc4, |
| 377 | 0x240d1f0b, |
| 378 | 0xcf1a004e, |
| 379 | 0x004f00ee, |
| 380 | 0x00ffcf19, |
| 381 | 0x0000047e, |
| 382 | 0x0040010e, |
| 383 | 0x000ef61d, |
| 384 | /* 0x04be: ih_no_fifo */ |
| 385 | 0x004004bd, |
| 386 | 0x000af601, |
| 387 | 0xf0fc04bd, |
| 388 | 0xd0fce0fc, |
| 389 | 0xa0fcb0fc, |
| 390 | 0x80fc90fc, |
| 391 | 0xfc0088fe, |
| 392 | 0x0032f480, |
| 393 | /* 0x04de: hub_barrier_done */ |
| 394 | 0x010f01f8, |
| 395 | 0xbb040e98, |
| 396 | 0xffb204fe, |
| 397 | 0x4094188e, |
| 398 | 0x00008f7e, |
| 399 | /* 0x04f2: ctx_redswitch */ |
| 400 | 0x200f00f8, |
| 401 | 0x01850080, |
| 402 | 0xbd000ff6, |
| 403 | /* 0x04ff: ctx_redswitch_delay */ |
| 404 | 0xb6080e04, |
| 405 | 0x1bf401e2, |
| 406 | 0x00f5f1fd, |
| 407 | 0x00f5f108, |
| 408 | 0x85008002, |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 409 | 0x000ff601, |
Ben Skeggs | 8fd4b7d | 2015-03-10 09:20:07 +1000 | [diff] [blame] | 410 | 0x00f804bd, |
| 411 | /* 0x0518: ctx_xfer */ |
| 412 | 0x02810080, |
| 413 | 0xbd000ff6, |
| 414 | 0x0711f404, |
| 415 | 0x0004f27e, |
| 416 | /* 0x0528: ctx_xfer_not_load */ |
| 417 | 0x0002167e, |
| 418 | 0xfc8024bd, |
| 419 | 0x02f60247, |
Ben Skeggs | 6acc09b | 2014-02-26 12:02:08 +1000 | [diff] [blame] | 420 | 0xf004bd00, |
Ben Skeggs | 8fd4b7d | 2015-03-10 09:20:07 +1000 | [diff] [blame] | 421 | 0x20b6012c, |
| 422 | 0x4afc8003, |
| 423 | 0x0002f602, |
| 424 | 0xacf004bd, |
| 425 | 0x02a5f001, |
| 426 | 0x5000008b, |
Ben Skeggs | 96616b4 | 2013-11-05 14:49:49 +1000 | [diff] [blame] | 427 | 0xb6040c98, |
| 428 | 0xbcbb0fc4, |
Ben Skeggs | 8fd4b7d | 2015-03-10 09:20:07 +1000 | [diff] [blame] | 429 | 0x000c9800, |
| 430 | 0x0e010d98, |
| 431 | 0x013d7e00, |
| 432 | 0x01acf000, |
| 433 | 0x5040008b, |
| 434 | 0xb6040c98, |
| 435 | 0xbcbb0fc4, |
| 436 | 0x010c9800, |
| 437 | 0x98020d98, |
| 438 | 0x004e060f, |
| 439 | 0x013d7e08, |
| 440 | 0x01acf000, |
| 441 | 0x8b04a5f0, |
| 442 | 0x98503000, |
| 443 | 0xc4b6040c, |
| 444 | 0x00bcbb0f, |
| 445 | 0x98020c98, |
| 446 | 0x0f98030d, |
| 447 | 0x02004e08, |
| 448 | 0x00013d7e, |
| 449 | 0x00020a7e, |
| 450 | 0xf40601f4, |
| 451 | /* 0x05b2: ctx_xfer_post */ |
| 452 | 0x277e0712, |
| 453 | /* 0x05b6: ctx_xfer_done */ |
| 454 | 0xde7e0002, |
| 455 | 0x00f80004, |
Ben Skeggs | 96616b4 | 2013-11-05 14:49:49 +1000 | [diff] [blame] | 456 | 0x00000000, |
| 457 | 0x00000000, |
| 458 | 0x00000000, |
| 459 | 0x00000000, |
| 460 | 0x00000000, |
| 461 | 0x00000000, |
| 462 | 0x00000000, |
| 463 | 0x00000000, |
| 464 | 0x00000000, |
| 465 | 0x00000000, |
| 466 | 0x00000000, |
| 467 | 0x00000000, |
| 468 | 0x00000000, |
| 469 | 0x00000000, |
| 470 | 0x00000000, |
| 471 | 0x00000000, |
| 472 | 0x00000000, |
| 473 | }; |