1 /*
2  * Copyright 2018 Advanced Micro Devices, Inc.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20  * OTHER DEALINGS IN THE SOFTWARE.
21  */
22 
23 static const uint32_t cwsr_trap_gfx8_hex[] = {
24 	0xbf820001, 0xbf820121,
25 	0xb8f4f802, 0x89748674,
26 	0xb8f5f803, 0x8675ff75,
27 	0x00000400, 0xbf850017,
28 	0xc00a1e37, 0x00000000,
29 	0xbf8c007f, 0x87777978,
30 	0xbf840005, 0x8f728374,
31 	0xb972e0c2, 0xbf800002,
32 	0xb9740002, 0xbe801d78,
33 	0xb8f5f803, 0x8675ff75,
34 	0x000001ff, 0xbf850002,
35 	0x80708470, 0x82718071,
36 	0x8671ff71, 0x0000ffff,
37 	0x8f728374, 0xb972e0c2,
38 	0xbf800002, 0xb9740002,
39 	0xbe801f70, 0xbefa0080,
40 	0xb97a0283, 0xbef60068,
41 	0xbef70069, 0xb8fa1c07,
42 	0x8e7a9c7a, 0x87717a71,
43 	0xb8fa03c7, 0x8e7a9b7a,
44 	0x87717a71, 0xb8faf807,
45 	0x867aff7a, 0x00007fff,
46 	0xb97af807, 0xbef2007e,
47 	0xbef3007f, 0xbefe0180,
48 	0xbf900004, 0x877a8474,
49 	0xb97af802, 0xbf8e0002,
50 	0xbf88fffe, 0xbef8007e,
51 	0x8679ff7f, 0x0000ffff,
52 	0x8779ff79, 0x00040000,
53 	0xbefa0080, 0xbefb00ff,
54 	0x00807fac, 0x867aff7f,
55 	0x08000000, 0x8f7a837a,
56 	0x877b7a7b, 0x867aff7f,
57 	0x70000000, 0x8f7a817a,
58 	0x877b7a7b, 0xbeef007c,
59 	0xbeee0080, 0xb8ee2a05,
60 	0x806e816e, 0x8e6e8a6e,
61 	0xb8fa1605, 0x807a817a,
62 	0x8e7a867a, 0x806e7a6e,
63 	0xbefa0084, 0xbefa00ff,
64 	0x01000000, 0xbefe007c,
65 	0xbefc006e, 0xc0611bfc,
66 	0x0000007c, 0x806e846e,
67 	0xbefc007e, 0xbefe007c,
68 	0xbefc006e, 0xc0611c3c,
69 	0x0000007c, 0x806e846e,
70 	0xbefc007e, 0xbefe007c,
71 	0xbefc006e, 0xc0611c7c,
72 	0x0000007c, 0x806e846e,
73 	0xbefc007e, 0xbefe007c,
74 	0xbefc006e, 0xc0611cbc,
75 	0x0000007c, 0x806e846e,
76 	0xbefc007e, 0xbefe007c,
77 	0xbefc006e, 0xc0611cfc,
78 	0x0000007c, 0x806e846e,
79 	0xbefc007e, 0xbefe007c,
80 	0xbefc006e, 0xc0611d3c,
81 	0x0000007c, 0x806e846e,
82 	0xbefc007e, 0xb8f5f803,
83 	0xbefe007c, 0xbefc006e,
84 	0xc0611d7c, 0x0000007c,
85 	0x806e846e, 0xbefc007e,
86 	0xbefe007c, 0xbefc006e,
87 	0xc0611dbc, 0x0000007c,
88 	0x806e846e, 0xbefc007e,
89 	0xbefe007c, 0xbefc006e,
90 	0xc0611dfc, 0x0000007c,
91 	0x806e846e, 0xbefc007e,
92 	0xb8eff801, 0xbefe007c,
93 	0xbefc006e, 0xc0611bfc,
94 	0x0000007c, 0x806e846e,
95 	0xbefc007e, 0xbefe007c,
96 	0xbefc006e, 0xc0611b3c,
97 	0x0000007c, 0x806e846e,
98 	0xbefc007e, 0xbefe007c,
99 	0xbefc006e, 0xc0611b7c,
100 	0x0000007c, 0x806e846e,
101 	0xbefc007e, 0x867aff7f,
102 	0x04000000, 0xbef30080,
103 	0x8773737a, 0xb8ee2a05,
104 	0x806e816e, 0x8e6e8a6e,
105 	0xb8f51605, 0x80758175,
106 	0x8e758475, 0x8e7a8275,
107 	0xbefa00ff, 0x01000000,
108 	0xbef60178, 0x80786e78,
109 	0x82798079, 0xbefc0080,
110 	0xbe802b00, 0xbe822b02,
111 	0xbe842b04, 0xbe862b06,
112 	0xbe882b08, 0xbe8a2b0a,
113 	0xbe8c2b0c, 0xbe8e2b0e,
114 	0xc06b003c, 0x00000000,
115 	0xc06b013c, 0x00000010,
116 	0xc06b023c, 0x00000020,
117 	0xc06b033c, 0x00000030,
118 	0x8078c078, 0x82798079,
119 	0x807c907c, 0xbf0a757c,
120 	0xbf85ffeb, 0xbef80176,
121 	0xbeee0080, 0xbefe00c1,
122 	0xbeff00c1, 0xbefa00ff,
123 	0x01000000, 0xe0724000,
124 	0x6e1e0000, 0xe0724100,
125 	0x6e1e0100, 0xe0724200,
126 	0x6e1e0200, 0xe0724300,
127 	0x6e1e0300, 0xbefe00c1,
128 	0xbeff00c1, 0xb8f54306,
129 	0x8675c175, 0xbf84002c,
130 	0xbf8a0000, 0x867aff73,
131 	0x04000000, 0xbf840028,
132 	0x8e758675, 0x8e758275,
133 	0xbefa0075, 0xb8ee2a05,
134 	0x806e816e, 0x8e6e8a6e,
135 	0xb8fa1605, 0x807a817a,
136 	0x8e7a867a, 0x806e7a6e,
137 	0x806eff6e, 0x00000080,
138 	0xbefa00ff, 0x01000000,
139 	0xbefc0080, 0xd28c0002,
140 	0x000100c1, 0xd28d0003,
141 	0x000204c1, 0xd1060002,
142 	0x00011103, 0x7e0602ff,
143 	0x00000200, 0xbefc00ff,
144 	0x00010000, 0xbe80007b,
145 	0x867bff7b, 0xff7fffff,
146 	0x877bff7b, 0x00058000,
147 	0xd8ec0000, 0x00000002,
148 	0xbf8c007f, 0xe0765000,
149 	0x6e1e0002, 0x32040702,
150 	0xd0c9006a, 0x0000eb02,
151 	0xbf87fff7, 0xbefb0000,
152 	0xbeee00ff, 0x00000400,
153 	0xbefe00c1, 0xbeff00c1,
154 	0xb8f52a05, 0x80758175,
155 	0x8e758275, 0x8e7a8875,
156 	0xbefa00ff, 0x01000000,
157 	0xbefc0084, 0xbf0a757c,
158 	0xbf840015, 0xbf11017c,
159 	0x8075ff75, 0x00001000,
160 	0x7e000300, 0x7e020301,
161 	0x7e040302, 0x7e060303,
162 	0xe0724000, 0x6e1e0000,
163 	0xe0724100, 0x6e1e0100,
164 	0xe0724200, 0x6e1e0200,
165 	0xe0724300, 0x6e1e0300,
166 	0x807c847c, 0x806eff6e,
167 	0x00000400, 0xbf0a757c,
168 	0xbf85ffef, 0xbf9c0000,
169 	0xbf8200cd, 0xbef8007e,
170 	0x8679ff7f, 0x0000ffff,
171 	0x8779ff79, 0x00040000,
172 	0xbefa0080, 0xbefb00ff,
173 	0x00807fac, 0x8676ff7f,
174 	0x08000000, 0x8f768376,
175 	0x877b767b, 0x8676ff7f,
176 	0x70000000, 0x8f768176,
177 	0x877b767b, 0x8676ff7f,
178 	0x04000000, 0xbf84001e,
179 	0xbefe00c1, 0xbeff00c1,
180 	0xb8f34306, 0x8673c173,
181 	0xbf840019, 0x8e738673,
182 	0x8e738273, 0xbefa0073,
183 	0xb8f22a05, 0x80728172,
184 	0x8e728a72, 0xb8f61605,
185 	0x80768176, 0x8e768676,
186 	0x80727672, 0x8072ff72,
187 	0x00000080, 0xbefa00ff,
188 	0x01000000, 0xbefc0080,
189 	0xe0510000, 0x721e0000,
190 	0xe0510100, 0x721e0000,
191 	0x807cff7c, 0x00000200,
192 	0x8072ff72, 0x00000200,
193 	0xbf0a737c, 0xbf85fff6,
194 	0xbef20080, 0xbefe00c1,
195 	0xbeff00c1, 0xb8f32a05,
196 	0x80738173, 0x8e738273,
197 	0x8e7a8873, 0xbefa00ff,
198 	0x01000000, 0xbef60072,
199 	0x8072ff72, 0x00000400,
200 	0xbefc0084, 0xbf11087c,
201 	0x8073ff73, 0x00008000,
202 	0xe0524000, 0x721e0000,
203 	0xe0524100, 0x721e0100,
204 	0xe0524200, 0x721e0200,
205 	0xe0524300, 0x721e0300,
206 	0xbf8c0f70, 0x7e000300,
207 	0x7e020301, 0x7e040302,
208 	0x7e060303, 0x807c847c,
209 	0x8072ff72, 0x00000400,
210 	0xbf0a737c, 0xbf85ffee,
211 	0xbf9c0000, 0xe0524000,
212 	0x761e0000, 0xe0524100,
213 	0x761e0100, 0xe0524200,
214 	0x761e0200, 0xe0524300,
215 	0x761e0300, 0xb8f22a05,
216 	0x80728172, 0x8e728a72,
217 	0xb8f61605, 0x80768176,
218 	0x8e768676, 0x80727672,
219 	0x80f2c072, 0xb8f31605,
220 	0x80738173, 0x8e738473,
221 	0x8e7a8273, 0xbefa00ff,
222 	0x01000000, 0xbefc0073,
223 	0xc031003c, 0x00000072,
224 	0x80f2c072, 0xbf8c007f,
225 	0x80fc907c, 0xbe802d00,
226 	0xbe822d02, 0xbe842d04,
227 	0xbe862d06, 0xbe882d08,
228 	0xbe8a2d0a, 0xbe8c2d0c,
229 	0xbe8e2d0e, 0xbf06807c,
230 	0xbf84fff1, 0xb8f22a05,
231 	0x80728172, 0x8e728a72,
232 	0xb8f61605, 0x80768176,
233 	0x8e768676, 0x80727672,
234 	0xbefa0084, 0xbefa00ff,
235 	0x01000000, 0xc0211cfc,
236 	0x00000072, 0x80728472,
237 	0xc0211c3c, 0x00000072,
238 	0x80728472, 0xc0211c7c,
239 	0x00000072, 0x80728472,
240 	0xc0211bbc, 0x00000072,
241 	0x80728472, 0xc0211bfc,
242 	0x00000072, 0x80728472,
243 	0xc0211d3c, 0x00000072,
244 	0x80728472, 0xc0211d7c,
245 	0x00000072, 0x80728472,
246 	0xc0211a3c, 0x00000072,
247 	0x80728472, 0xc0211a7c,
248 	0x00000072, 0x80728472,
249 	0xc0211dfc, 0x00000072,
250 	0x80728472, 0xc0211b3c,
251 	0x00000072, 0x80728472,
252 	0xc0211b7c, 0x00000072,
253 	0x80728472, 0xbf8c007f,
254 	0xbefc0073, 0xbefe006e,
255 	0xbeff006f, 0x867375ff,
256 	0x000003ff, 0xb9734803,
257 	0x867375ff, 0xfffff800,
258 	0x8f738b73, 0xb973a2c3,
259 	0xb977f801, 0x8673ff71,
260 	0xf0000000, 0x8f739c73,
261 	0x8e739073, 0xbef60080,
262 	0x87767376, 0x8673ff71,
263 	0x08000000, 0x8f739b73,
264 	0x8e738f73, 0x87767376,
265 	0x8673ff74, 0x00800000,
266 	0x8f739773, 0xb976f807,
267 	0x8671ff71, 0x0000ffff,
268 	0x86fe7e7e, 0x86ea6a6a,
269 	0x8f768374, 0xb976e0c2,
270 	0xbf800002, 0xb9740002,
271 	0xbf8a0000, 0x95807370,
272 	0xbf810000, 0x00000000,
273 };
274 
275 
276 static const uint32_t cwsr_trap_gfx9_hex[] = {
277 	0xbf820001, 0xbf820248,
278 	0xb8f8f802, 0x89788678,
279 	0xb8eef801, 0x866eff6e,
280 	0x00000800, 0xbf840003,
281 	0x866eff78, 0x00002000,
282 	0xbf840016, 0xb8fbf803,
283 	0x866eff7b, 0x00000400,
284 	0xbf85003b, 0x866eff7b,
285 	0x00000800, 0xbf850003,
286 	0x866eff7b, 0x00000100,
287 	0xbf84000c, 0x866eff78,
288 	0x00002000, 0xbf840005,
289 	0xbf8e0010, 0xb8eef803,
290 	0x866eff6e, 0x00000400,
291 	0xbf84fffb, 0x8778ff78,
292 	0x00002000, 0x80ec886c,
293 	0x82ed806d, 0xb8eef807,
294 	0x866fff6e, 0x001f8000,
295 	0x8e6f8b6f, 0x8977ff77,
296 	0xfc000000, 0x87776f77,
297 	0x896eff6e, 0x001f8000,
298 	0xb96ef807, 0xb8faf812,
299 	0xb8fbf813, 0x8efa887a,
300 	0xc0071bbd, 0x00000000,
301 	0xbf8cc07f, 0xc0071ebd,
302 	0x00000008, 0xbf8cc07f,
303 	0x86ee6e6e, 0xbf840001,
304 	0xbe801d6e, 0xb8fbf803,
305 	0x867bff7b, 0x000001ff,
306 	0xbf850002, 0x806c846c,
307 	0x826d806d, 0x866dff6d,
308 	0x0000ffff, 0x8f6e8b77,
309 	0x866eff6e, 0x001f8000,
310 	0xb96ef807, 0x86fe7e7e,
311 	0x86ea6a6a, 0x8f6e8378,
312 	0xb96ee0c2, 0xbf800002,
313 	0xb9780002, 0xbe801f6c,
314 	0x866dff6d, 0x0000ffff,
315 	0xbefa0080, 0xb97a0283,
316 	0xb8fa2407, 0x8e7a9b7a,
317 	0x876d7a6d, 0xb8fa03c7,
318 	0x8e7a9a7a, 0x876d7a6d,
319 	0xb8faf807, 0x867aff7a,
320 	0x00007fff, 0xb97af807,
321 	0xbeee007e, 0xbeef007f,
322 	0xbefe0180, 0xbf900004,
323 	0x877a8478, 0xb97af802,
324 	0xbf8e0002, 0xbf88fffe,
325 	0xb8fa2a05, 0x807a817a,
326 	0x8e7a8a7a, 0xb8fb1605,
327 	0x807b817b, 0x8e7b867b,
328 	0x807a7b7a, 0x807a7e7a,
329 	0x827b807f, 0x867bff7b,
330 	0x0000ffff, 0xc04b1c3d,
331 	0x00000050, 0xbf8cc07f,
332 	0xc04b1d3d, 0x00000060,
333 	0xbf8cc07f, 0xc0431e7d,
334 	0x00000074, 0xbf8cc07f,
335 	0xbef4007e, 0x8675ff7f,
336 	0x0000ffff, 0x8775ff75,
337 	0x00040000, 0xbef60080,
338 	0xbef700ff, 0x00807fac,
339 	0x867aff7f, 0x08000000,
340 	0x8f7a837a, 0x87777a77,
341 	0x867aff7f, 0x70000000,
342 	0x8f7a817a, 0x87777a77,
343 	0xbef1007c, 0xbef00080,
344 	0xb8f02a05, 0x80708170,
345 	0x8e708a70, 0xb8fa1605,
346 	0x807a817a, 0x8e7a867a,
347 	0x80707a70, 0xbef60084,
348 	0xbef600ff, 0x01000000,
349 	0xbefe007c, 0xbefc0070,
350 	0xc0611c7a, 0x0000007c,
351 	0xbf8cc07f, 0x80708470,
352 	0xbefc007e, 0xbefe007c,
353 	0xbefc0070, 0xc0611b3a,
354 	0x0000007c, 0xbf8cc07f,
355 	0x80708470, 0xbefc007e,
356 	0xbefe007c, 0xbefc0070,
357 	0xc0611b7a, 0x0000007c,
358 	0xbf8cc07f, 0x80708470,
359 	0xbefc007e, 0xbefe007c,
360 	0xbefc0070, 0xc0611bba,
361 	0x0000007c, 0xbf8cc07f,
362 	0x80708470, 0xbefc007e,
363 	0xbefe007c, 0xbefc0070,
364 	0xc0611bfa, 0x0000007c,
365 	0xbf8cc07f, 0x80708470,
366 	0xbefc007e, 0xbefe007c,
367 	0xbefc0070, 0xc0611e3a,
368 	0x0000007c, 0xbf8cc07f,
369 	0x80708470, 0xbefc007e,
370 	0xb8fbf803, 0xbefe007c,
371 	0xbefc0070, 0xc0611efa,
372 	0x0000007c, 0xbf8cc07f,
373 	0x80708470, 0xbefc007e,
374 	0xbefe007c, 0xbefc0070,
375 	0xc0611a3a, 0x0000007c,
376 	0xbf8cc07f, 0x80708470,
377 	0xbefc007e, 0xbefe007c,
378 	0xbefc0070, 0xc0611a7a,
379 	0x0000007c, 0xbf8cc07f,
380 	0x80708470, 0xbefc007e,
381 	0xb8f1f801, 0xbefe007c,
382 	0xbefc0070, 0xc0611c7a,
383 	0x0000007c, 0xbf8cc07f,
384 	0x80708470, 0xbefc007e,
385 	0x867aff7f, 0x04000000,
386 	0xbeef0080, 0x876f6f7a,
387 	0xb8f02a05, 0x80708170,
388 	0x8e708a70, 0xb8fb1605,
389 	0x807b817b, 0x8e7b847b,
390 	0x8e76827b, 0xbef600ff,
391 	0x01000000, 0xbef20174,
392 	0x80747074, 0x82758075,
393 	0xbefc0080, 0xbf800000,
394 	0xbe802b00, 0xbe822b02,
395 	0xbe842b04, 0xbe862b06,
396 	0xbe882b08, 0xbe8a2b0a,
397 	0xbe8c2b0c, 0xbe8e2b0e,
398 	0xc06b003a, 0x00000000,
399 	0xbf8cc07f, 0xc06b013a,
400 	0x00000010, 0xbf8cc07f,
401 	0xc06b023a, 0x00000020,
402 	0xbf8cc07f, 0xc06b033a,
403 	0x00000030, 0xbf8cc07f,
404 	0x8074c074, 0x82758075,
405 	0x807c907c, 0xbf0a7b7c,
406 	0xbf85ffe7, 0xbef40172,
407 	0xbef00080, 0xbefe00c1,
408 	0xbeff00c1, 0xbee80080,
409 	0xbee90080, 0xbef600ff,
410 	0x01000000, 0x867aff78,
411 	0x00400000, 0xbf850003,
412 	0xb8faf803, 0x897a7aff,
413 	0x10000000, 0xbf85004d,
414 	0xbe840080, 0xd2890000,
415 	0x00000900, 0x80048104,
416 	0xd2890001, 0x00000900,
417 	0x80048104, 0xd2890002,
418 	0x00000900, 0x80048104,
419 	0xd2890003, 0x00000900,
420 	0x80048104, 0xc069003a,
421 	0x00000070, 0xbf8cc07f,
422 	0x80709070, 0xbf06c004,
423 	0xbf84ffee, 0xbe840080,
424 	0xd2890000, 0x00000901,
425 	0x80048104, 0xd2890001,
426 	0x00000901, 0x80048104,
427 	0xd2890002, 0x00000901,
428 	0x80048104, 0xd2890003,
429 	0x00000901, 0x80048104,
430 	0xc069003a, 0x00000070,
431 	0xbf8cc07f, 0x80709070,
432 	0xbf06c004, 0xbf84ffee,
433 	0xbe840080, 0xd2890000,
434 	0x00000902, 0x80048104,
435 	0xd2890001, 0x00000902,
436 	0x80048104, 0xd2890002,
437 	0x00000902, 0x80048104,
438 	0xd2890003, 0x00000902,
439 	0x80048104, 0xc069003a,
440 	0x00000070, 0xbf8cc07f,
441 	0x80709070, 0xbf06c004,
442 	0xbf84ffee, 0xbe840080,
443 	0xd2890000, 0x00000903,
444 	0x80048104, 0xd2890001,
445 	0x00000903, 0x80048104,
446 	0xd2890002, 0x00000903,
447 	0x80048104, 0xd2890003,
448 	0x00000903, 0x80048104,
449 	0xc069003a, 0x00000070,
450 	0xbf8cc07f, 0x80709070,
451 	0xbf06c004, 0xbf84ffee,
452 	0xbf820008, 0xe0724000,
453 	0x701d0000, 0xe0724100,
454 	0x701d0100, 0xe0724200,
455 	0x701d0200, 0xe0724300,
456 	0x701d0300, 0xbefe00c1,
457 	0xbeff00c1, 0xb8fb4306,
458 	0x867bc17b, 0xbf840063,
459 	0xbf8a0000, 0x867aff6f,
460 	0x04000000, 0xbf84005f,
461 	0x8e7b867b, 0x8e7b827b,
462 	0xbef6007b, 0xb8f02a05,
463 	0x80708170, 0x8e708a70,
464 	0xb8fa1605, 0x807a817a,
465 	0x8e7a867a, 0x80707a70,
466 	0x8070ff70, 0x00000080,
467 	0xbef600ff, 0x01000000,
468 	0xbefc0080, 0xd28c0002,
469 	0x000100c1, 0xd28d0003,
470 	0x000204c1, 0x867aff78,
471 	0x00400000, 0xbf850003,
472 	0xb8faf803, 0x897a7aff,
473 	0x10000000, 0xbf850030,
474 	0x24040682, 0xd86e4000,
475 	0x00000002, 0xbf8cc07f,
476 	0xbe840080, 0xd2890000,
477 	0x00000900, 0x80048104,
478 	0xd2890001, 0x00000900,
479 	0x80048104, 0xd2890002,
480 	0x00000900, 0x80048104,
481 	0xd2890003, 0x00000900,
482 	0x80048104, 0xc069003a,
483 	0x00000070, 0xbf8cc07f,
484 	0x80709070, 0xbf06c004,
485 	0xbf84ffee, 0xbe840080,
486 	0xd2890000, 0x00000901,
487 	0x80048104, 0xd2890001,
488 	0x00000901, 0x80048104,
489 	0xd2890002, 0x00000901,
490 	0x80048104, 0xd2890003,
491 	0x00000901, 0x80048104,
492 	0xc069003a, 0x00000070,
493 	0xbf8cc07f, 0x80709070,
494 	0xbf06c004, 0xbf84ffee,
495 	0x680404ff, 0x00000200,
496 	0xd0c9006a, 0x0000f702,
497 	0xbf87ffd2, 0xbf820015,
498 	0xd1060002, 0x00011103,
499 	0x7e0602ff, 0x00000200,
500 	0xbefc00ff, 0x00010000,
501 	0xbe800077, 0x8677ff77,
502 	0xff7fffff, 0x8777ff77,
503 	0x00058000, 0xd8ec0000,
504 	0x00000002, 0xbf8cc07f,
505 	0xe0765000, 0x701d0002,
506 	0x68040702, 0xd0c9006a,
507 	0x0000f702, 0xbf87fff7,
508 	0xbef70000, 0xbef000ff,
509 	0x00000400, 0xbefe00c1,
510 	0xbeff00c1, 0xb8fb2a05,
511 	0x807b817b, 0x8e7b827b,
512 	0x8e76887b, 0xbef600ff,
513 	0x01000000, 0xbefc0084,
514 	0xbf0a7b7c, 0xbf84006d,
515 	0xbf11017c, 0x807bff7b,
516 	0x00001000, 0x867aff78,
517 	0x00400000, 0xbf850003,
518 	0xb8faf803, 0x897a7aff,
519 	0x10000000, 0xbf850051,
520 	0xbe840080, 0xd2890000,
521 	0x00000900, 0x80048104,
522 	0xd2890001, 0x00000900,
523 	0x80048104, 0xd2890002,
524 	0x00000900, 0x80048104,
525 	0xd2890003, 0x00000900,
526 	0x80048104, 0xc069003a,
527 	0x00000070, 0xbf8cc07f,
528 	0x80709070, 0xbf06c004,
529 	0xbf84ffee, 0xbe840080,
530 	0xd2890000, 0x00000901,
531 	0x80048104, 0xd2890001,
532 	0x00000901, 0x80048104,
533 	0xd2890002, 0x00000901,
534 	0x80048104, 0xd2890003,
535 	0x00000901, 0x80048104,
536 	0xc069003a, 0x00000070,
537 	0xbf8cc07f, 0x80709070,
538 	0xbf06c004, 0xbf84ffee,
539 	0xbe840080, 0xd2890000,
540 	0x00000902, 0x80048104,
541 	0xd2890001, 0x00000902,
542 	0x80048104, 0xd2890002,
543 	0x00000902, 0x80048104,
544 	0xd2890003, 0x00000902,
545 	0x80048104, 0xc069003a,
546 	0x00000070, 0xbf8cc07f,
547 	0x80709070, 0xbf06c004,
548 	0xbf84ffee, 0xbe840080,
549 	0xd2890000, 0x00000903,
550 	0x80048104, 0xd2890001,
551 	0x00000903, 0x80048104,
552 	0xd2890002, 0x00000903,
553 	0x80048104, 0xd2890003,
554 	0x00000903, 0x80048104,
555 	0xc069003a, 0x00000070,
556 	0xbf8cc07f, 0x80709070,
557 	0xbf06c004, 0xbf84ffee,
558 	0x807c847c, 0xbf0a7b7c,
559 	0xbf85ffb1, 0xbf9c0000,
560 	0xbf820012, 0x7e000300,
561 	0x7e020301, 0x7e040302,
562 	0x7e060303, 0xe0724000,
563 	0x701d0000, 0xe0724100,
564 	0x701d0100, 0xe0724200,
565 	0x701d0200, 0xe0724300,
566 	0x701d0300, 0x807c847c,
567 	0x8070ff70, 0x00000400,
568 	0xbf0a7b7c, 0xbf85ffef,
569 	0xbf9c0000, 0xbf8200da,
570 	0xbef4007e, 0x8675ff7f,
571 	0x0000ffff, 0x8775ff75,
572 	0x00040000, 0xbef60080,
573 	0xbef700ff, 0x00807fac,
574 	0x866eff7f, 0x08000000,
575 	0x8f6e836e, 0x87776e77,
576 	0x866eff7f, 0x70000000,
577 	0x8f6e816e, 0x87776e77,
578 	0x866eff7f, 0x04000000,
579 	0xbf84001e, 0xbefe00c1,
580 	0xbeff00c1, 0xb8ef4306,
581 	0x866fc16f, 0xbf840019,
582 	0x8e6f866f, 0x8e6f826f,
583 	0xbef6006f, 0xb8f82a05,
584 	0x80788178, 0x8e788a78,
585 	0xb8ee1605, 0x806e816e,
586 	0x8e6e866e, 0x80786e78,
587 	0x8078ff78, 0x00000080,
588 	0xbef600ff, 0x01000000,
589 	0xbefc0080, 0xe0510000,
590 	0x781d0000, 0xe0510100,
591 	0x781d0000, 0x807cff7c,
592 	0x00000200, 0x8078ff78,
593 	0x00000200, 0xbf0a6f7c,
594 	0xbf85fff6, 0xbef80080,
595 	0xbefe00c1, 0xbeff00c1,
596 	0xb8ef2a05, 0x806f816f,
597 	0x8e6f826f, 0x8e76886f,
598 	0xbef600ff, 0x01000000,
599 	0xbeee0078, 0x8078ff78,
600 	0x00000400, 0xbefc0084,
601 	0xbf11087c, 0x806fff6f,
602 	0x00008000, 0xe0524000,
603 	0x781d0000, 0xe0524100,
604 	0x781d0100, 0xe0524200,
605 	0x781d0200, 0xe0524300,
606 	0x781d0300, 0xbf8c0f70,
607 	0x7e000300, 0x7e020301,
608 	0x7e040302, 0x7e060303,
609 	0x807c847c, 0x8078ff78,
610 	0x00000400, 0xbf0a6f7c,
611 	0xbf85ffee, 0xbf9c0000,
612 	0xe0524000, 0x6e1d0000,
613 	0xe0524100, 0x6e1d0100,
614 	0xe0524200, 0x6e1d0200,
615 	0xe0524300, 0x6e1d0300,
616 	0xb8f82a05, 0x80788178,
617 	0x8e788a78, 0xb8ee1605,
618 	0x806e816e, 0x8e6e866e,
619 	0x80786e78, 0x80f8c078,
620 	0xb8ef1605, 0x806f816f,
621 	0x8e6f846f, 0x8e76826f,
622 	0xbef600ff, 0x01000000,
623 	0xbefc006f, 0xc031003a,
624 	0x00000078, 0x80f8c078,
625 	0xbf8cc07f, 0x80fc907c,
626 	0xbf800000, 0xbe802d00,
627 	0xbe822d02, 0xbe842d04,
628 	0xbe862d06, 0xbe882d08,
629 	0xbe8a2d0a, 0xbe8c2d0c,
630 	0xbe8e2d0e, 0xbf06807c,
631 	0xbf84fff0, 0xb8f82a05,
632 	0x80788178, 0x8e788a78,
633 	0xb8ee1605, 0x806e816e,
634 	0x8e6e866e, 0x80786e78,
635 	0xbef60084, 0xbef600ff,
636 	0x01000000, 0xc0211bfa,
637 	0x00000078, 0x80788478,
638 	0xc0211b3a, 0x00000078,
639 	0x80788478, 0xc0211b7a,
640 	0x00000078, 0x80788478,
641 	0xc0211c3a, 0x00000078,
642 	0x80788478, 0xc0211c7a,
643 	0x00000078, 0x80788478,
644 	0xc0211eba, 0x00000078,
645 	0x80788478, 0xc0211efa,
646 	0x00000078, 0x80788478,
647 	0xc0211a3a, 0x00000078,
648 	0x80788478, 0xc0211a7a,
649 	0x00000078, 0x80788478,
650 	0xc0211cfa, 0x00000078,
651 	0x80788478, 0xbf8cc07f,
652 	0xbefc006f, 0xbefe0070,
653 	0xbeff0071, 0x866f7bff,
654 	0x000003ff, 0xb96f4803,
655 	0x866f7bff, 0xfffff800,
656 	0x8f6f8b6f, 0xb96fa2c3,
657 	0xb973f801, 0xb8ee2a05,
658 	0x806e816e, 0x8e6e8a6e,
659 	0xb8ef1605, 0x806f816f,
660 	0x8e6f866f, 0x806e6f6e,
661 	0x806e746e, 0x826f8075,
662 	0x866fff6f, 0x0000ffff,
663 	0xc00b1c37, 0x00000050,
664 	0xc00b1d37, 0x00000060,
665 	0xc0031e77, 0x00000074,
666 	0xbf8cc07f, 0x866fff6d,
667 	0xf8000000, 0x8f6f9b6f,
668 	0x8e6f906f, 0xbeee0080,
669 	0x876e6f6e, 0x866fff6d,
670 	0x04000000, 0x8f6f9a6f,
671 	0x8e6f8f6f, 0x876e6f6e,
672 	0x866fff7a, 0x00800000,
673 	0x8f6f976f, 0xb96ef807,
674 	0x866dff6d, 0x0000ffff,
675 	0x86fe7e7e, 0x86ea6a6a,
676 	0x8f6e837a, 0xb96ee0c2,
677 	0xbf800002, 0xb97a0002,
678 	0xbf8a0000, 0x95806f6c,
679 	0xbf810000, 0x00000000,
680 };
681 
682 static const uint32_t cwsr_trap_nv1x_hex[] = {
683 	0xbf820001, 0xbf8201cd,
684 	0xb0804004, 0xb978f802,
685 	0x8a788678, 0xb96ef801,
686 	0x876eff6e, 0x00000800,
687 	0xbf840003, 0x876eff78,
688 	0x00002000, 0xbf840009,
689 	0xb97bf803, 0x876eff7b,
690 	0x00000400, 0xbf850033,
691 	0x876eff7b, 0x00000100,
692 	0xbf840002, 0x8878ff78,
693 	0x00002000, 0x8a77ff77,
694 	0xff000000, 0xb96ef807,
695 	0x876fff6e, 0x02000000,
696 	0x8f6f866f, 0x88776f77,
697 	0x876fff6e, 0x003f8000,
698 	0x8f6f896f, 0x88776f77,
699 	0x8a6eff6e, 0x023f8000,
700 	0xb9eef807, 0xb97af812,
701 	0xb97bf813, 0x8ffa887a,
702 	0xf4051bbd, 0xfa000000,
703 	0xbf8cc07f, 0xf4051ebd,
704 	0xfa000008, 0xbf8cc07f,
705 	0x87ee6e6e, 0xbf840001,
706 	0xbe80206e, 0xb97bf803,
707 	0x877bff7b, 0x000001ff,
708 	0xbf850002, 0x806c846c,
709 	0x826d806d, 0x876dff6d,
710 	0x0000ffff, 0x906e8977,
711 	0x876fff6e, 0x003f8000,
712 	0x906e8677, 0x876eff6e,
713 	0x02000000, 0x886e6f6e,
714 	0xb9eef807, 0x87fe7e7e,
715 	0x87ea6a6a, 0xb9f8f802,
716 	0xbe80226c, 0x876dff6d,
717 	0x0000ffff, 0xbefa0380,
718 	0xb9fa0283, 0xb97a2c07,
719 	0x8f7a9a7a, 0x886d7a6d,
720 	0xb97a03c7, 0x8f7a997a,
721 	0x886d7a6d, 0xb97a0647,
722 	0x8f7a987a, 0x886d7a6d,
723 	0xb97af807, 0x877aff7a,
724 	0x00007fff, 0xb9faf807,
725 	0xbeee037e, 0xbeef037f,
726 	0xbefe0480, 0xbf900004,
727 	0xbf8e0002, 0xbf88fffe,
728 	0xb97b02dc, 0x8f7b997b,
729 	0x887b7b7f, 0xb97a2a05,
730 	0x807a817a, 0xbf0d997b,
731 	0xbf850002, 0x8f7a897a,
732 	0xbf820001, 0x8f7a8a7a,
733 	0x877bff7f, 0x0000ffff,
734 	0x807aff7a, 0x00000200,
735 	0x807a7e7a, 0x827b807b,
736 	0xf4491c3d, 0xfa000050,
737 	0xf4491d3d, 0xfa000060,
738 	0xf4411e7d, 0xfa000074,
739 	0xbef4037e, 0x8775ff7f,
740 	0x0000ffff, 0x8875ff75,
741 	0x00040000, 0xbef60380,
742 	0xbef703ff, 0x10807fac,
743 	0x877aff7f, 0x08000000,
744 	0x907a837a, 0x88777a77,
745 	0x877aff7f, 0x70000000,
746 	0x907a817a, 0x88777a77,
747 	0xbef1037c, 0xbef00380,
748 	0xb97302dc, 0x8f739973,
749 	0x8873737f, 0xb97bf816,
750 	0xba80f816, 0x00000000,
751 	0xbefe03c1, 0x907c9973,
752 	0x877c817c, 0xbf06817c,
753 	0xbf850002, 0xbeff0380,
754 	0xbf820002, 0xbeff03c1,
755 	0xbf82000b, 0xbef603ff,
756 	0x01000000, 0xe0704000,
757 	0x705d0000, 0xe0704080,
758 	0x705d0100, 0xe0704100,
759 	0x705d0200, 0xe0704180,
760 	0x705d0300, 0xbf82000a,
761 	0xbef603ff, 0x01000000,
762 	0xe0704000, 0x705d0000,
763 	0xe0704100, 0x705d0100,
764 	0xe0704200, 0x705d0200,
765 	0xe0704300, 0x705d0300,
766 	0xb9702a05, 0x80708170,
767 	0xbf0d9973, 0xbf850002,
768 	0x8f708970, 0xbf820001,
769 	0x8f708a70, 0xb97a1e06,
770 	0x8f7a8a7a, 0x80707a70,
771 	0x8070ff70, 0x00000200,
772 	0xbef603ff, 0x01000000,
773 	0xbefe037c, 0xbefc0370,
774 	0xf4611c7a, 0xf8000000,
775 	0x80708470, 0xbefc037e,
776 	0xbefe037c, 0xbefc0370,
777 	0xf4611b3a, 0xf8000000,
778 	0x80708470, 0xbefc037e,
779 	0xbefe037c, 0xbefc0370,
780 	0xf4611b7a, 0xf8000000,
781 	0x80708470, 0xbefc037e,
782 	0xbefe037c, 0xbefc0370,
783 	0xf4611bba, 0xf8000000,
784 	0x80708470, 0xbefc037e,
785 	0xbefe037c, 0xbefc0370,
786 	0xf4611bfa, 0xf8000000,
787 	0x80708470, 0xbefc037e,
788 	0xbefe037c, 0xbefc0370,
789 	0xf4611e3a, 0xf8000000,
790 	0x80708470, 0xbefc037e,
791 	0xb97af803, 0xbefe037c,
792 	0xbefc0370, 0xf4611eba,
793 	0xf8000000, 0x80708470,
794 	0xbefc037e, 0xbefe037c,
795 	0xbefc0370, 0xf4611efa,
796 	0xf8000000, 0x80708470,
797 	0xbefc037e, 0xb971f801,
798 	0xbefe037c, 0xbefc0370,
799 	0xf4611c7a, 0xf8000000,
800 	0x80708470, 0xbefc037e,
801 	0xb971f814, 0xbefe037c,
802 	0xbefc0370, 0xf4611c7a,
803 	0xf8000000, 0x80708470,
804 	0xbefc037e, 0xb971f815,
805 	0xbefe037c, 0xbefc0370,
806 	0xf4611c7a, 0xf8000000,
807 	0x80708470, 0xbefc037e,
808 	0xb9702a05, 0x80708170,
809 	0xbf0d9973, 0xbf850002,
810 	0x8f708970, 0xbf820001,
811 	0x8f708a70, 0xb97a1e06,
812 	0x8f7a8a7a, 0x80707a70,
813 	0xbef603ff, 0x01000000,
814 	0xbefb0374, 0x80747074,
815 	0x82758075, 0xbefc0380,
816 	0xbf800000, 0xbe802f00,
817 	0xbe822f02, 0xbe842f04,
818 	0xbe862f06, 0xbe882f08,
819 	0xbe8a2f0a, 0xbe8c2f0c,
820 	0xbe8e2f0e, 0xf469003a,
821 	0xfa000000, 0xf469013a,
822 	0xfa000010, 0xf469023a,
823 	0xfa000020, 0xf469033a,
824 	0xfa000030, 0x8074c074,
825 	0x82758075, 0x807c907c,
826 	0xbf0aff7c, 0x00000060,
827 	0xbf85ffea, 0xbe802f00,
828 	0xbe822f02, 0xbe842f04,
829 	0xbe862f06, 0xbe882f08,
830 	0xbe8a2f0a, 0xf469003a,
831 	0xfa000000, 0xf469013a,
832 	0xfa000010, 0xf469023a,
833 	0xfa000020, 0x8074b074,
834 	0x82758075, 0xbef4037b,
835 	0xbefe03c1, 0x907c9973,
836 	0x877c817c, 0xbf06817c,
837 	0xbf850002, 0xbeff0380,
838 	0xbf820001, 0xbeff03c1,
839 	0xb97b4306, 0x877bc17b,
840 	0xbf840044, 0xbf8a0000,
841 	0x877aff73, 0x04000000,
842 	0xbf840040, 0x8f7b867b,
843 	0x8f7b827b, 0xbef6037b,
844 	0xb9702a05, 0x80708170,
845 	0xbf0d9973, 0xbf850002,
846 	0x8f708970, 0xbf820001,
847 	0x8f708a70, 0xb97a1e06,
848 	0x8f7a8a7a, 0x80707a70,
849 	0x8070ff70, 0x00000200,
850 	0x8070ff70, 0x00000080,
851 	0xbef603ff, 0x01000000,
852 	0xd7650000, 0x000100c1,
853 	0xd7660000, 0x000200c1,
854 	0x16000084, 0x907c9973,
855 	0x877c817c, 0xbf06817c,
856 	0xbefc0380, 0xbf850012,
857 	0xbe8303ff, 0x00000080,
858 	0xbf800000, 0xbf800000,
859 	0xbf800000, 0xd8d80000,
860 	0x01000000, 0xbf8c0000,
861 	0xe0704000, 0x705d0100,
862 	0x807c037c, 0x80700370,
863 	0xd5250000, 0x0001ff00,
864 	0x00000080, 0xbf0a7b7c,
865 	0xbf85fff4, 0xbf820011,
866 	0xbe8303ff, 0x00000100,
867 	0xbf800000, 0xbf800000,
868 	0xbf800000, 0xd8d80000,
869 	0x01000000, 0xbf8c0000,
870 	0xe0704000, 0x705d0100,
871 	0x807c037c, 0x80700370,
872 	0xd5250000, 0x0001ff00,
873 	0x00000100, 0xbf0a7b7c,
874 	0xbf85fff4, 0xbefe03c1,
875 	0x907c9973, 0x877c817c,
876 	0xbf06817c, 0xbf850004,
877 	0xbef003ff, 0x00000200,
878 	0xbeff0380, 0xbf820003,
879 	0xbef003ff, 0x00000400,
880 	0xbeff03c1, 0xb97b2a05,
881 	0x807b817b, 0x8f7b827b,
882 	0x907c9973, 0x877c817c,
883 	0xbf06817c, 0xbf850017,
884 	0xbef603ff, 0x01000000,
885 	0xbefc0384, 0xbf0a7b7c,
886 	0xbf840037, 0x7e008700,
887 	0x7e028701, 0x7e048702,
888 	0x7e068703, 0xe0704000,
889 	0x705d0000, 0xe0704080,
890 	0x705d0100, 0xe0704100,
891 	0x705d0200, 0xe0704180,
892 	0x705d0300, 0x807c847c,
893 	0x8070ff70, 0x00000200,
894 	0xbf0a7b7c, 0xbf85ffef,
895 	0xbf820025, 0xbef603ff,
896 	0x01000000, 0xbefc0384,
897 	0xbf0a7b7c, 0xbf840020,
898 	0x7e008700, 0x7e028701,
899 	0x7e048702, 0x7e068703,
900 	0xe0704000, 0x705d0000,
901 	0xe0704100, 0x705d0100,
902 	0xe0704200, 0x705d0200,
903 	0xe0704300, 0x705d0300,
904 	0x807c847c, 0x8070ff70,
905 	0x00000400, 0xbf0a7b7c,
906 	0xbf85ffef, 0xb97b1e06,
907 	0x877bc17b, 0xbf84000c,
908 	0x8f7b837b, 0x807b7c7b,
909 	0xbefe03c1, 0xbeff0380,
910 	0x7e008700, 0xe0704000,
911 	0x705d0000, 0x807c817c,
912 	0x8070ff70, 0x00000080,
913 	0xbf0a7b7c, 0xbf85fff8,
914 	0xbf82014f, 0xbef4037e,
915 	0x8775ff7f, 0x0000ffff,
916 	0x8875ff75, 0x00040000,
917 	0xbef60380, 0xbef703ff,
918 	0x10807fac, 0x876eff7f,
919 	0x08000000, 0x906e836e,
920 	0x88776e77, 0x876eff7f,
921 	0x70000000, 0x906e816e,
922 	0x88776e77, 0xb97202dc,
923 	0x8f729972, 0x8872727f,
924 	0x876eff7f, 0x04000000,
925 	0xbf840034, 0xbefe03c1,
926 	0x907c9972, 0x877c817c,
927 	0xbf06817c, 0xbf850002,
928 	0xbeff0380, 0xbf820001,
929 	0xbeff03c1, 0xb96f4306,
930 	0x876fc16f, 0xbf840029,
931 	0x8f6f866f, 0x8f6f826f,
932 	0xbef6036f, 0xb9782a05,
933 	0x80788178, 0xbf0d9972,
934 	0xbf850002, 0x8f788978,
935 	0xbf820001, 0x8f788a78,
936 	0xb96e1e06, 0x8f6e8a6e,
937 	0x80786e78, 0x8078ff78,
938 	0x00000200, 0x8078ff78,
939 	0x00000080, 0xbef603ff,
940 	0x01000000, 0x907c9972,
941 	0x877c817c, 0xbf06817c,
942 	0xbefc0380, 0xbf850009,
943 	0xe0310000, 0x781d0000,
944 	0x807cff7c, 0x00000080,
945 	0x8078ff78, 0x00000080,
946 	0xbf0a6f7c, 0xbf85fff8,
947 	0xbf820008, 0xe0310000,
948 	0x781d0000, 0x807cff7c,
949 	0x00000100, 0x8078ff78,
950 	0x00000100, 0xbf0a6f7c,
951 	0xbf85fff8, 0xbef80380,
952 	0xbefe03c1, 0x907c9972,
953 	0x877c817c, 0xbf06817c,
954 	0xbf850002, 0xbeff0380,
955 	0xbf820001, 0xbeff03c1,
956 	0xb96f2a05, 0x806f816f,
957 	0x8f6f826f, 0x907c9972,
958 	0x877c817c, 0xbf06817c,
959 	0xbf850021, 0xbef603ff,
960 	0x01000000, 0xbeee0378,
961 	0x8078ff78, 0x00000200,
962 	0xbefc0384, 0xe0304000,
963 	0x785d0000, 0xe0304080,
964 	0x785d0100, 0xe0304100,
965 	0x785d0200, 0xe0304180,
966 	0x785d0300, 0xbf8c3f70,
967 	0x7e008500, 0x7e028501,
968 	0x7e048502, 0x7e068503,
969 	0x807c847c, 0x8078ff78,
970 	0x00000200, 0xbf0a6f7c,
971 	0xbf85ffee, 0xe0304000,
972 	0x6e5d0000, 0xe0304080,
973 	0x6e5d0100, 0xe0304100,
974 	0x6e5d0200, 0xe0304180,
975 	0x6e5d0300, 0xbf820032,
976 	0xbef603ff, 0x01000000,
977 	0xbeee0378, 0x8078ff78,
978 	0x00000400, 0xbefc0384,
979 	0xe0304000, 0x785d0000,
980 	0xe0304100, 0x785d0100,
981 	0xe0304200, 0x785d0200,
982 	0xe0304300, 0x785d0300,
983 	0xbf8c3f70, 0x7e008500,
984 	0x7e028501, 0x7e048502,
985 	0x7e068503, 0x807c847c,
986 	0x8078ff78, 0x00000400,
987 	0xbf0a6f7c, 0xbf85ffee,
988 	0xb96f1e06, 0x876fc16f,
989 	0xbf84000e, 0x8f6f836f,
990 	0x806f7c6f, 0xbefe03c1,
991 	0xbeff0380, 0xe0304000,
992 	0x785d0000, 0xbf8c3f70,
993 	0x7e008500, 0x807c817c,
994 	0x8078ff78, 0x00000080,
995 	0xbf0a6f7c, 0xbf85fff7,
996 	0xbeff03c1, 0xe0304000,
997 	0x6e5d0000, 0xe0304100,
998 	0x6e5d0100, 0xe0304200,
999 	0x6e5d0200, 0xe0304300,
1000 	0x6e5d0300, 0xbf8c3f70,
1001 	0xb9782a05, 0x80788178,
1002 	0xbf0d9972, 0xbf850002,
1003 	0x8f788978, 0xbf820001,
1004 	0x8f788a78, 0xb96e1e06,
1005 	0x8f6e8a6e, 0x80786e78,
1006 	0x8078ff78, 0x00000200,
1007 	0x80f8ff78, 0x00000050,
1008 	0xbef603ff, 0x01000000,
1009 	0xbefc03ff, 0x0000006c,
1010 	0x80f89078, 0xf429003a,
1011 	0xf0000000, 0xbf8cc07f,
1012 	0x80fc847c, 0xbf800000,
1013 	0xbe803100, 0xbe823102,
1014 	0x80f8a078, 0xf42d003a,
1015 	0xf0000000, 0xbf8cc07f,
1016 	0x80fc887c, 0xbf800000,
1017 	0xbe803100, 0xbe823102,
1018 	0xbe843104, 0xbe863106,
1019 	0x80f8c078, 0xf431003a,
1020 	0xf0000000, 0xbf8cc07f,
1021 	0x80fc907c, 0xbf800000,
1022 	0xbe803100, 0xbe823102,
1023 	0xbe843104, 0xbe863106,
1024 	0xbe883108, 0xbe8a310a,
1025 	0xbe8c310c, 0xbe8e310e,
1026 	0xbf06807c, 0xbf84fff0,
1027 	0xb9782a05, 0x80788178,
1028 	0xbf0d9972, 0xbf850002,
1029 	0x8f788978, 0xbf820001,
1030 	0x8f788a78, 0xb96e1e06,
1031 	0x8f6e8a6e, 0x80786e78,
1032 	0x8078ff78, 0x00000200,
1033 	0xbef603ff, 0x01000000,
1034 	0xf4211bfa, 0xf0000000,
1035 	0x80788478, 0xf4211b3a,
1036 	0xf0000000, 0x80788478,
1037 	0xf4211b7a, 0xf0000000,
1038 	0x80788478, 0xf4211c3a,
1039 	0xf0000000, 0x80788478,
1040 	0xf4211c7a, 0xf0000000,
1041 	0x80788478, 0xf4211eba,
1042 	0xf0000000, 0x80788478,
1043 	0xf4211efa, 0xf0000000,
1044 	0x80788478, 0xf4211e7a,
1045 	0xf0000000, 0x80788478,
1046 	0xf4211cfa, 0xf0000000,
1047 	0x80788478, 0xf4211bba,
1048 	0xf0000000, 0x80788478,
1049 	0xbf8cc07f, 0xb9eef814,
1050 	0xf4211bba, 0xf0000000,
1051 	0x80788478, 0xbf8cc07f,
1052 	0xb9eef815, 0xbefc036f,
1053 	0xbefe0370, 0xbeff0371,
1054 	0x876f7bff, 0x000003ff,
1055 	0xb9ef4803, 0xb9f9f816,
1056 	0x876f7bff, 0xfffff800,
1057 	0x906f8b6f, 0xb9efa2c3,
1058 	0xb9f3f801, 0xb96e2a05,
1059 	0x806e816e, 0xbf0d9972,
1060 	0xbf850002, 0x8f6e896e,
1061 	0xbf820001, 0x8f6e8a6e,
1062 	0x806eff6e, 0x00000200,
1063 	0x806e746e, 0x826f8075,
1064 	0x876fff6f, 0x0000ffff,
1065 	0xf4091c37, 0xfa000050,
1066 	0xf4091d37, 0xfa000060,
1067 	0xf4011e77, 0xfa000074,
1068 	0xbf8cc07f, 0x876fff6d,
1069 	0xfc000000, 0x906f9a6f,
1070 	0x8f6f906f, 0xbeee0380,
1071 	0x886e6f6e, 0x876fff6d,
1072 	0x02000000, 0x906f996f,
1073 	0x8f6f8f6f, 0x886e6f6e,
1074 	0x876fff6d, 0x01000000,
1075 	0x906f986f, 0x8f6f996f,
1076 	0x886e6f6e, 0x876fff7a,
1077 	0x00800000, 0x906f976f,
1078 	0xb9eef807, 0x876dff6d,
1079 	0x0000ffff, 0x87fe7e7e,
1080 	0x87ea6a6a, 0xb9faf802,
1081 	0xbf8a0000, 0xbe80226c,
1082 	0xbf810000, 0xbf9f0000,
1083 	0xbf9f0000, 0xbf9f0000,
1084 	0xbf9f0000, 0xbf9f0000,
1085 };
1086 
1087 static const uint32_t cwsr_trap_arcturus_hex[] = {
1088 	0xbf820001, 0xbf8202c4,
1089 	0xb8f8f802, 0x89788678,
1090 	0xb8eef801, 0x866eff6e,
1091 	0x00000800, 0xbf840003,
1092 	0x866eff78, 0x00002000,
1093 	0xbf840016, 0xb8fbf803,
1094 	0x866eff7b, 0x00000400,
1095 	0xbf85003b, 0x866eff7b,
1096 	0x00000800, 0xbf850003,
1097 	0x866eff7b, 0x00000100,
1098 	0xbf84000c, 0x866eff78,
1099 	0x00002000, 0xbf840005,
1100 	0xbf8e0010, 0xb8eef803,
1101 	0x866eff6e, 0x00000400,
1102 	0xbf84fffb, 0x8778ff78,
1103 	0x00002000, 0x80ec886c,
1104 	0x82ed806d, 0xb8eef807,
1105 	0x866fff6e, 0x001f8000,
1106 	0x8e6f8b6f, 0x8977ff77,
1107 	0xfc000000, 0x87776f77,
1108 	0x896eff6e, 0x001f8000,
1109 	0xb96ef807, 0xb8faf812,
1110 	0xb8fbf813, 0x8efa887a,
1111 	0xc0071bbd, 0x00000000,
1112 	0xbf8cc07f, 0xc0071ebd,
1113 	0x00000008, 0xbf8cc07f,
1114 	0x86ee6e6e, 0xbf840001,
1115 	0xbe801d6e, 0xb8fbf803,
1116 	0x867bff7b, 0x000001ff,
1117 	0xbf850002, 0x806c846c,
1118 	0x826d806d, 0x866dff6d,
1119 	0x0000ffff, 0x8f6e8b77,
1120 	0x866eff6e, 0x001f8000,
1121 	0xb96ef807, 0x86fe7e7e,
1122 	0x86ea6a6a, 0x8f6e8378,
1123 	0xb96ee0c2, 0xbf800002,
1124 	0xb9780002, 0xbe801f6c,
1125 	0x866dff6d, 0x0000ffff,
1126 	0xbefa0080, 0xb97a0283,
1127 	0xb8fa2407, 0x8e7a9b7a,
1128 	0x876d7a6d, 0xb8fa03c7,
1129 	0x8e7a9a7a, 0x876d7a6d,
1130 	0xb8faf807, 0x867aff7a,
1131 	0x00007fff, 0xb97af807,
1132 	0xbeee007e, 0xbeef007f,
1133 	0xbefe0180, 0xbf900004,
1134 	0x877a8478, 0xb97af802,
1135 	0xbf8e0002, 0xbf88fffe,
1136 	0xb8fa2a05, 0x807a817a,
1137 	0x8e7a8a7a, 0x8e7a817a,
1138 	0xb8fb1605, 0x807b817b,
1139 	0x8e7b867b, 0x807a7b7a,
1140 	0x807a7e7a, 0x827b807f,
1141 	0x867bff7b, 0x0000ffff,
1142 	0xc04b1c3d, 0x00000050,
1143 	0xbf8cc07f, 0xc04b1d3d,
1144 	0x00000060, 0xbf8cc07f,
1145 	0xc0431e7d, 0x00000074,
1146 	0xbf8cc07f, 0xbef4007e,
1147 	0x8675ff7f, 0x0000ffff,
1148 	0x8775ff75, 0x00040000,
1149 	0xbef60080, 0xbef700ff,
1150 	0x00807fac, 0x867aff7f,
1151 	0x08000000, 0x8f7a837a,
1152 	0x87777a77, 0x867aff7f,
1153 	0x70000000, 0x8f7a817a,
1154 	0x87777a77, 0xbef1007c,
1155 	0xbef00080, 0xb8f02a05,
1156 	0x80708170, 0x8e708a70,
1157 	0x8e708170, 0xb8fa1605,
1158 	0x807a817a, 0x8e7a867a,
1159 	0x80707a70, 0xbef60084,
1160 	0xbef600ff, 0x01000000,
1161 	0xbefe007c, 0xbefc0070,
1162 	0xc0611c7a, 0x0000007c,
1163 	0xbf8cc07f, 0x80708470,
1164 	0xbefc007e, 0xbefe007c,
1165 	0xbefc0070, 0xc0611b3a,
1166 	0x0000007c, 0xbf8cc07f,
1167 	0x80708470, 0xbefc007e,
1168 	0xbefe007c, 0xbefc0070,
1169 	0xc0611b7a, 0x0000007c,
1170 	0xbf8cc07f, 0x80708470,
1171 	0xbefc007e, 0xbefe007c,
1172 	0xbefc0070, 0xc0611bba,
1173 	0x0000007c, 0xbf8cc07f,
1174 	0x80708470, 0xbefc007e,
1175 	0xbefe007c, 0xbefc0070,
1176 	0xc0611bfa, 0x0000007c,
1177 	0xbf8cc07f, 0x80708470,
1178 	0xbefc007e, 0xbefe007c,
1179 	0xbefc0070, 0xc0611e3a,
1180 	0x0000007c, 0xbf8cc07f,
1181 	0x80708470, 0xbefc007e,
1182 	0xb8fbf803, 0xbefe007c,
1183 	0xbefc0070, 0xc0611efa,
1184 	0x0000007c, 0xbf8cc07f,
1185 	0x80708470, 0xbefc007e,
1186 	0xbefe007c, 0xbefc0070,
1187 	0xc0611a3a, 0x0000007c,
1188 	0xbf8cc07f, 0x80708470,
1189 	0xbefc007e, 0xbefe007c,
1190 	0xbefc0070, 0xc0611a7a,
1191 	0x0000007c, 0xbf8cc07f,
1192 	0x80708470, 0xbefc007e,
1193 	0xb8f1f801, 0xbefe007c,
1194 	0xbefc0070, 0xc0611c7a,
1195 	0x0000007c, 0xbf8cc07f,
1196 	0x80708470, 0xbefc007e,
1197 	0x867aff7f, 0x04000000,
1198 	0xbeef0080, 0x876f6f7a,
1199 	0xb8f02a05, 0x80708170,
1200 	0x8e708a70, 0x8e708170,
1201 	0xb8fb1605, 0x807b817b,
1202 	0x8e7b847b, 0x8e76827b,
1203 	0xbef600ff, 0x01000000,
1204 	0xbef20174, 0x80747074,
1205 	0x82758075, 0xbefc0080,
1206 	0xbf800000, 0xbe802b00,
1207 	0xbe822b02, 0xbe842b04,
1208 	0xbe862b06, 0xbe882b08,
1209 	0xbe8a2b0a, 0xbe8c2b0c,
1210 	0xbe8e2b0e, 0xc06b003a,
1211 	0x00000000, 0xbf8cc07f,
1212 	0xc06b013a, 0x00000010,
1213 	0xbf8cc07f, 0xc06b023a,
1214 	0x00000020, 0xbf8cc07f,
1215 	0xc06b033a, 0x00000030,
1216 	0xbf8cc07f, 0x8074c074,
1217 	0x82758075, 0x807c907c,
1218 	0xbf0a7b7c, 0xbf85ffe7,
1219 	0xbef40172, 0xbef00080,
1220 	0xbefe00c1, 0xbeff00c1,
1221 	0xbee80080, 0xbee90080,
1222 	0xbef600ff, 0x01000000,
1223 	0x867aff78, 0x00400000,
1224 	0xbf850003, 0xb8faf803,
1225 	0x897a7aff, 0x10000000,
1226 	0xbf85004d, 0xbe840080,
1227 	0xd2890000, 0x00000900,
1228 	0x80048104, 0xd2890001,
1229 	0x00000900, 0x80048104,
1230 	0xd2890002, 0x00000900,
1231 	0x80048104, 0xd2890003,
1232 	0x00000900, 0x80048104,
1233 	0xc069003a, 0x00000070,
1234 	0xbf8cc07f, 0x80709070,
1235 	0xbf06c004, 0xbf84ffee,
1236 	0xbe840080, 0xd2890000,
1237 	0x00000901, 0x80048104,
1238 	0xd2890001, 0x00000901,
1239 	0x80048104, 0xd2890002,
1240 	0x00000901, 0x80048104,
1241 	0xd2890003, 0x00000901,
1242 	0x80048104, 0xc069003a,
1243 	0x00000070, 0xbf8cc07f,
1244 	0x80709070, 0xbf06c004,
1245 	0xbf84ffee, 0xbe840080,
1246 	0xd2890000, 0x00000902,
1247 	0x80048104, 0xd2890001,
1248 	0x00000902, 0x80048104,
1249 	0xd2890002, 0x00000902,
1250 	0x80048104, 0xd2890003,
1251 	0x00000902, 0x80048104,
1252 	0xc069003a, 0x00000070,
1253 	0xbf8cc07f, 0x80709070,
1254 	0xbf06c004, 0xbf84ffee,
1255 	0xbe840080, 0xd2890000,
1256 	0x00000903, 0x80048104,
1257 	0xd2890001, 0x00000903,
1258 	0x80048104, 0xd2890002,
1259 	0x00000903, 0x80048104,
1260 	0xd2890003, 0x00000903,
1261 	0x80048104, 0xc069003a,
1262 	0x00000070, 0xbf8cc07f,
1263 	0x80709070, 0xbf06c004,
1264 	0xbf84ffee, 0xbf820008,
1265 	0xe0724000, 0x701d0000,
1266 	0xe0724100, 0x701d0100,
1267 	0xe0724200, 0x701d0200,
1268 	0xe0724300, 0x701d0300,
1269 	0xbefe00c1, 0xbeff00c1,
1270 	0xb8fb4306, 0x867bc17b,
1271 	0xbf840064, 0xbf8a0000,
1272 	0x867aff6f, 0x04000000,
1273 	0xbf840060, 0x8e7b867b,
1274 	0x8e7b827b, 0xbef6007b,
1275 	0xb8f02a05, 0x80708170,
1276 	0x8e708a70, 0x8e708170,
1277 	0xb8fa1605, 0x807a817a,
1278 	0x8e7a867a, 0x80707a70,
1279 	0x8070ff70, 0x00000080,
1280 	0xbef600ff, 0x01000000,
1281 	0xbefc0080, 0xd28c0002,
1282 	0x000100c1, 0xd28d0003,
1283 	0x000204c1, 0x867aff78,
1284 	0x00400000, 0xbf850003,
1285 	0xb8faf803, 0x897a7aff,
1286 	0x10000000, 0xbf850030,
1287 	0x24040682, 0xd86e4000,
1288 	0x00000002, 0xbf8cc07f,
1289 	0xbe840080, 0xd2890000,
1290 	0x00000900, 0x80048104,
1291 	0xd2890001, 0x00000900,
1292 	0x80048104, 0xd2890002,
1293 	0x00000900, 0x80048104,
1294 	0xd2890003, 0x00000900,
1295 	0x80048104, 0xc069003a,
1296 	0x00000070, 0xbf8cc07f,
1297 	0x80709070, 0xbf06c004,
1298 	0xbf84ffee, 0xbe840080,
1299 	0xd2890000, 0x00000901,
1300 	0x80048104, 0xd2890001,
1301 	0x00000901, 0x80048104,
1302 	0xd2890002, 0x00000901,
1303 	0x80048104, 0xd2890003,
1304 	0x00000901, 0x80048104,
1305 	0xc069003a, 0x00000070,
1306 	0xbf8cc07f, 0x80709070,
1307 	0xbf06c004, 0xbf84ffee,
1308 	0x680404ff, 0x00000200,
1309 	0xd0c9006a, 0x0000f702,
1310 	0xbf87ffd2, 0xbf820015,
1311 	0xd1060002, 0x00011103,
1312 	0x7e0602ff, 0x00000200,
1313 	0xbefc00ff, 0x00010000,
1314 	0xbe800077, 0x8677ff77,
1315 	0xff7fffff, 0x8777ff77,
1316 	0x00058000, 0xd8ec0000,
1317 	0x00000002, 0xbf8cc07f,
1318 	0xe0765000, 0x701d0002,
1319 	0x68040702, 0xd0c9006a,
1320 	0x0000f702, 0xbf87fff7,
1321 	0xbef70000, 0xbef000ff,
1322 	0x00000400, 0xbefe00c1,
1323 	0xbeff00c1, 0xb8fb2a05,
1324 	0x807b817b, 0x8e7b827b,
1325 	0x8e76887b, 0xbef600ff,
1326 	0x01000000, 0xbefc0084,
1327 	0xbf0a7b7c, 0xbf84006d,
1328 	0xbf11017c, 0x807bff7b,
1329 	0x00001000, 0x867aff78,
1330 	0x00400000, 0xbf850003,
1331 	0xb8faf803, 0x897a7aff,
1332 	0x10000000, 0xbf850051,
1333 	0xbe840080, 0xd2890000,
1334 	0x00000900, 0x80048104,
1335 	0xd2890001, 0x00000900,
1336 	0x80048104, 0xd2890002,
1337 	0x00000900, 0x80048104,
1338 	0xd2890003, 0x00000900,
1339 	0x80048104, 0xc069003a,
1340 	0x00000070, 0xbf8cc07f,
1341 	0x80709070, 0xbf06c004,
1342 	0xbf84ffee, 0xbe840080,
1343 	0xd2890000, 0x00000901,
1344 	0x80048104, 0xd2890001,
1345 	0x00000901, 0x80048104,
1346 	0xd2890002, 0x00000901,
1347 	0x80048104, 0xd2890003,
1348 	0x00000901, 0x80048104,
1349 	0xc069003a, 0x00000070,
1350 	0xbf8cc07f, 0x80709070,
1351 	0xbf06c004, 0xbf84ffee,
1352 	0xbe840080, 0xd2890000,
1353 	0x00000902, 0x80048104,
1354 	0xd2890001, 0x00000902,
1355 	0x80048104, 0xd2890002,
1356 	0x00000902, 0x80048104,
1357 	0xd2890003, 0x00000902,
1358 	0x80048104, 0xc069003a,
1359 	0x00000070, 0xbf8cc07f,
1360 	0x80709070, 0xbf06c004,
1361 	0xbf84ffee, 0xbe840080,
1362 	0xd2890000, 0x00000903,
1363 	0x80048104, 0xd2890001,
1364 	0x00000903, 0x80048104,
1365 	0xd2890002, 0x00000903,
1366 	0x80048104, 0xd2890003,
1367 	0x00000903, 0x80048104,
1368 	0xc069003a, 0x00000070,
1369 	0xbf8cc07f, 0x80709070,
1370 	0xbf06c004, 0xbf84ffee,
1371 	0x807c847c, 0xbf0a7b7c,
1372 	0xbf85ffb1, 0xbf9c0000,
1373 	0xbf820012, 0x7e000300,
1374 	0x7e020301, 0x7e040302,
1375 	0x7e060303, 0xe0724000,
1376 	0x701d0000, 0xe0724100,
1377 	0x701d0100, 0xe0724200,
1378 	0x701d0200, 0xe0724300,
1379 	0x701d0300, 0x807c847c,
1380 	0x8070ff70, 0x00000400,
1381 	0xbf0a7b7c, 0xbf85ffef,
1382 	0xbf9c0000, 0xbefc0080,
1383 	0xbf11017c, 0x867aff78,
1384 	0x00400000, 0xbf850003,
1385 	0xb8faf803, 0x897a7aff,
1386 	0x10000000, 0xbf850059,
1387 	0xd3d84000, 0x18000100,
1388 	0xd3d84001, 0x18000101,
1389 	0xd3d84002, 0x18000102,
1390 	0xd3d84003, 0x18000103,
1391 	0xbe840080, 0xd2890000,
1392 	0x00000900, 0x80048104,
1393 	0xd2890001, 0x00000900,
1394 	0x80048104, 0xd2890002,
1395 	0x00000900, 0x80048104,
1396 	0xd2890003, 0x00000900,
1397 	0x80048104, 0xc069003a,
1398 	0x00000070, 0xbf8cc07f,
1399 	0x80709070, 0xbf06c004,
1400 	0xbf84ffee, 0xbe840080,
1401 	0xd2890000, 0x00000901,
1402 	0x80048104, 0xd2890001,
1403 	0x00000901, 0x80048104,
1404 	0xd2890002, 0x00000901,
1405 	0x80048104, 0xd2890003,
1406 	0x00000901, 0x80048104,
1407 	0xc069003a, 0x00000070,
1408 	0xbf8cc07f, 0x80709070,
1409 	0xbf06c004, 0xbf84ffee,
1410 	0xbe840080, 0xd2890000,
1411 	0x00000902, 0x80048104,
1412 	0xd2890001, 0x00000902,
1413 	0x80048104, 0xd2890002,
1414 	0x00000902, 0x80048104,
1415 	0xd2890003, 0x00000902,
1416 	0x80048104, 0xc069003a,
1417 	0x00000070, 0xbf8cc07f,
1418 	0x80709070, 0xbf06c004,
1419 	0xbf84ffee, 0xbe840080,
1420 	0xd2890000, 0x00000903,
1421 	0x80048104, 0xd2890001,
1422 	0x00000903, 0x80048104,
1423 	0xd2890002, 0x00000903,
1424 	0x80048104, 0xd2890003,
1425 	0x00000903, 0x80048104,
1426 	0xc069003a, 0x00000070,
1427 	0xbf8cc07f, 0x80709070,
1428 	0xbf06c004, 0xbf84ffee,
1429 	0x807c847c, 0xbf0a7b7c,
1430 	0xbf85ffa9, 0xbf9c0000,
1431 	0xbf820016, 0xd3d84000,
1432 	0x18000100, 0xd3d84001,
1433 	0x18000101, 0xd3d84002,
1434 	0x18000102, 0xd3d84003,
1435 	0x18000103, 0xe0724000,
1436 	0x701d0000, 0xe0724100,
1437 	0x701d0100, 0xe0724200,
1438 	0x701d0200, 0xe0724300,
1439 	0x701d0300, 0x807c847c,
1440 	0x8070ff70, 0x00000400,
1441 	0xbf0a7b7c, 0xbf85ffeb,
1442 	0xbf9c0000, 0xbf820106,
1443 	0xbef4007e, 0x8675ff7f,
1444 	0x0000ffff, 0x8775ff75,
1445 	0x00040000, 0xbef60080,
1446 	0xbef700ff, 0x00807fac,
1447 	0x866eff7f, 0x08000000,
1448 	0x8f6e836e, 0x87776e77,
1449 	0x866eff7f, 0x70000000,
1450 	0x8f6e816e, 0x87776e77,
1451 	0x866eff7f, 0x04000000,
1452 	0xbf84001f, 0xbefe00c1,
1453 	0xbeff00c1, 0xb8ef4306,
1454 	0x866fc16f, 0xbf84001a,
1455 	0x8e6f866f, 0x8e6f826f,
1456 	0xbef6006f, 0xb8f82a05,
1457 	0x80788178, 0x8e788a78,
1458 	0x8e788178, 0xb8ee1605,
1459 	0x806e816e, 0x8e6e866e,
1460 	0x80786e78, 0x8078ff78,
1461 	0x00000080, 0xbef600ff,
1462 	0x01000000, 0xbefc0080,
1463 	0xe0510000, 0x781d0000,
1464 	0xe0510100, 0x781d0000,
1465 	0x807cff7c, 0x00000200,
1466 	0x8078ff78, 0x00000200,
1467 	0xbf0a6f7c, 0xbf85fff6,
1468 	0xbef80080, 0xbefe00c1,
1469 	0xbeff00c1, 0xb8ef2a05,
1470 	0x806f816f, 0x8e6f826f,
1471 	0x8e76886f, 0xbef90076,
1472 	0xbef600ff, 0x01000000,
1473 	0xbeee0078, 0x8078ff78,
1474 	0x00000400, 0xbef30079,
1475 	0x8079ff79, 0x00000400,
1476 	0xbefc0084, 0xbf11087c,
1477 	0x806fff6f, 0x00008000,
1478 	0xe0524000, 0x791d0000,
1479 	0xe0524100, 0x791d0100,
1480 	0xe0524200, 0x791d0200,
1481 	0xe0524300, 0x791d0300,
1482 	0x8079ff79, 0x00000400,
1483 	0xbf8c0f70, 0xd3d94000,
1484 	0x18000100, 0xd3d94001,
1485 	0x18000101, 0xd3d94002,
1486 	0x18000102, 0xd3d94003,
1487 	0x18000103, 0xe0524000,
1488 	0x781d0000, 0xe0524100,
1489 	0x781d0100, 0xe0524200,
1490 	0x781d0200, 0xe0524300,
1491 	0x781d0300, 0xbf8c0f70,
1492 	0x7e000300, 0x7e020301,
1493 	0x7e040302, 0x7e060303,
1494 	0x807c847c, 0x8078ff78,
1495 	0x00000400, 0xbf0a6f7c,
1496 	0xbf85ffdb, 0xbf9c0000,
1497 	0xe0524000, 0x731d0000,
1498 	0xe0524100, 0x731d0100,
1499 	0xe0524200, 0x731d0200,
1500 	0xe0524300, 0x731d0300,
1501 	0xbf8c0f70, 0xd3d94000,
1502 	0x18000100, 0xd3d94001,
1503 	0x18000101, 0xd3d94002,
1504 	0x18000102, 0xd3d94003,
1505 	0x18000103, 0xe0524000,
1506 	0x6e1d0000, 0xe0524100,
1507 	0x6e1d0100, 0xe0524200,
1508 	0x6e1d0200, 0xe0524300,
1509 	0x6e1d0300, 0xb8f82a05,
1510 	0x80788178, 0x8e788a78,
1511 	0x8e788178, 0xb8ee1605,
1512 	0x806e816e, 0x8e6e866e,
1513 	0x80786e78, 0x80f8c078,
1514 	0xb8ef1605, 0x806f816f,
1515 	0x8e6f846f, 0x8e76826f,
1516 	0xbef600ff, 0x01000000,
1517 	0xbefc006f, 0xc031003a,
1518 	0x00000078, 0x80f8c078,
1519 	0xbf8cc07f, 0x80fc907c,
1520 	0xbf800000, 0xbe802d00,
1521 	0xbe822d02, 0xbe842d04,
1522 	0xbe862d06, 0xbe882d08,
1523 	0xbe8a2d0a, 0xbe8c2d0c,
1524 	0xbe8e2d0e, 0xbf06807c,
1525 	0xbf84fff0, 0xb8f82a05,
1526 	0x80788178, 0x8e788a78,
1527 	0x8e788178, 0xb8ee1605,
1528 	0x806e816e, 0x8e6e866e,
1529 	0x80786e78, 0xbef60084,
1530 	0xbef600ff, 0x01000000,
1531 	0xc0211bfa, 0x00000078,
1532 	0x80788478, 0xc0211b3a,
1533 	0x00000078, 0x80788478,
1534 	0xc0211b7a, 0x00000078,
1535 	0x80788478, 0xc0211c3a,
1536 	0x00000078, 0x80788478,
1537 	0xc0211c7a, 0x00000078,
1538 	0x80788478, 0xc0211eba,
1539 	0x00000078, 0x80788478,
1540 	0xc0211efa, 0x00000078,
1541 	0x80788478, 0xc0211a3a,
1542 	0x00000078, 0x80788478,
1543 	0xc0211a7a, 0x00000078,
1544 	0x80788478, 0xc0211cfa,
1545 	0x00000078, 0x80788478,
1546 	0xbf8cc07f, 0xbefc006f,
1547 	0xbefe0070, 0xbeff0071,
1548 	0x866f7bff, 0x000003ff,
1549 	0xb96f4803, 0x866f7bff,
1550 	0xfffff800, 0x8f6f8b6f,
1551 	0xb96fa2c3, 0xb973f801,
1552 	0xb8ee2a05, 0x806e816e,
1553 	0x8e6e8a6e, 0x8e6e816e,
1554 	0xb8ef1605, 0x806f816f,
1555 	0x8e6f866f, 0x806e6f6e,
1556 	0x806e746e, 0x826f8075,
1557 	0x866fff6f, 0x0000ffff,
1558 	0xc00b1c37, 0x00000050,
1559 	0xc00b1d37, 0x00000060,
1560 	0xc0031e77, 0x00000074,
1561 	0xbf8cc07f, 0x866fff6d,
1562 	0xf8000000, 0x8f6f9b6f,
1563 	0x8e6f906f, 0xbeee0080,
1564 	0x876e6f6e, 0x866fff6d,
1565 	0x04000000, 0x8f6f9a6f,
1566 	0x8e6f8f6f, 0x876e6f6e,
1567 	0x866fff7a, 0x00800000,
1568 	0x8f6f976f, 0xb96ef807,
1569 	0x866dff6d, 0x0000ffff,
1570 	0x86fe7e7e, 0x86ea6a6a,
1571 	0x8f6e837a, 0xb96ee0c2,
1572 	0xbf800002, 0xb97a0002,
1573 	0xbf8a0000, 0x95806f6c,
1574 	0xbf810000, 0x00000000,
1575 };
1576 
1577 static const uint32_t cwsr_trap_gfx10_hex[] = {
1578 	0xbf820001, 0xbf8201cf,
1579 	0xb0804004, 0xb978f802,
1580 	0x8a788678, 0xb96ef801,
1581 	0x876eff6e, 0x00000800,
1582 	0xbf840003, 0x876eff78,
1583 	0x00002000, 0xbf840009,
1584 	0xb97bf803, 0x876eff7b,
1585 	0x00000400, 0xbf85001d,
1586 	0x876eff7b, 0x00000100,
1587 	0xbf840002, 0x8878ff78,
1588 	0x00002000, 0xb97af812,
1589 	0xb97bf813, 0x8ffa887a,
1590 	0xf4051bbd, 0xfa000000,
1591 	0xbf8cc07f, 0xf4051ebd,
1592 	0xfa000008, 0xbf8cc07f,
1593 	0x87ee6e6e, 0xbf840001,
1594 	0xbe80206e, 0xb97bf803,
1595 	0x877bff7b, 0x000001ff,
1596 	0xbf850002, 0x806c846c,
1597 	0x826d806d, 0x876dff6d,
1598 	0x0000ffff, 0x87fe7e7e,
1599 	0x87ea6a6a, 0xb9f8f802,
1600 	0xbe80226c, 0x876dff6d,
1601 	0x0000ffff, 0xbefa0380,
1602 	0xb9fa0283, 0xbeee037e,
1603 	0xbeef037f, 0xbefe0480,
1604 	0xbf900004, 0xbf8cc07f,
1605 	0xb97b02dc, 0x8f7b997b,
1606 	0x887b7b7f, 0xb97a2a05,
1607 	0x807a817a, 0xbf0d997b,
1608 	0xbf850002, 0x8f7a897a,
1609 	0xbf820001, 0x8f7a8a7a,
1610 	0x877bff7f, 0x0000ffff,
1611 	0x807aff7a, 0x00000200,
1612 	0x807a7e7a, 0x827b807b,
1613 	0xbef4037e, 0x8775ff7f,
1614 	0x0000ffff, 0x8875ff75,
1615 	0x00040000, 0xbef60380,
1616 	0xbef703ff, 0x10807fac,
1617 	0x877aff7f, 0x08000000,
1618 	0x907a837a, 0x88777a77,
1619 	0x877aff7f, 0x70000000,
1620 	0x907a817a, 0x88777a77,
1621 	0xbef1037c, 0xbef00380,
1622 	0xb97302dc, 0x8f739973,
1623 	0x8873737f, 0xbefe03c1,
1624 	0x907c9973, 0x877c817c,
1625 	0xbf06817c, 0xbf850002,
1626 	0xbeff0380, 0xbf820002,
1627 	0xbeff03c1, 0xbf82000b,
1628 	0xbef603ff, 0x01000000,
1629 	0xe0704000, 0x705d0000,
1630 	0xe0704080, 0x705d0100,
1631 	0xe0704100, 0x705d0200,
1632 	0xe0704180, 0x705d0300,
1633 	0xbf82000a, 0xbef603ff,
1634 	0x01000000, 0xe0704000,
1635 	0x705d0000, 0xe0704100,
1636 	0x705d0100, 0xe0704200,
1637 	0x705d0200, 0xe0704300,
1638 	0x705d0300, 0xb9702a05,
1639 	0x80708170, 0xbf0d9973,
1640 	0xbf850002, 0x8f708970,
1641 	0xbf820001, 0x8f708a70,
1642 	0xb97a1e06, 0x8f7a8a7a,
1643 	0x80707a70, 0x8070ff70,
1644 	0x00000200, 0xbef603ff,
1645 	0x01000000, 0x7e000280,
1646 	0x7e020280, 0x7e040280,
1647 	0xbefc0380, 0xd7610002,
1648 	0x0000f871, 0x807c817c,
1649 	0xd7610002, 0x0000f86c,
1650 	0x807c817c, 0xd7610002,
1651 	0x0000f86d, 0x807c817c,
1652 	0xd7610002, 0x0000f86e,
1653 	0x807c817c, 0xd7610002,
1654 	0x0000f86f, 0x807c817c,
1655 	0xd7610002, 0x0000f878,
1656 	0x807c817c, 0xb97af803,
1657 	0xd7610002, 0x0000f87a,
1658 	0x807c817c, 0xd7610002,
1659 	0x0000f87b, 0x807c817c,
1660 	0xb971f801, 0xd7610002,
1661 	0x0000f871, 0x807c817c,
1662 	0xb971f814, 0xd7610002,
1663 	0x0000f871, 0x807c817c,
1664 	0xb971f815, 0xd7610002,
1665 	0x0000f871, 0x807c817c,
1666 	0xbeff0380, 0xe0704000,
1667 	0x705d0200, 0xb9702a05,
1668 	0x80708170, 0xbf0d9973,
1669 	0xbf850002, 0x8f708970,
1670 	0xbf820001, 0x8f708a70,
1671 	0xb97a1e06, 0x8f7a8a7a,
1672 	0x80707a70, 0xbef603ff,
1673 	0x01000000, 0xbef90380,
1674 	0xbefc0380, 0xbf800000,
1675 	0xbe802f00, 0xbe822f02,
1676 	0xbe842f04, 0xbe862f06,
1677 	0xbe882f08, 0xbe8a2f0a,
1678 	0xbe8c2f0c, 0xbe8e2f0e,
1679 	0xd7610002, 0x0000f200,
1680 	0x80798179, 0xd7610002,
1681 	0x0000f201, 0x80798179,
1682 	0xd7610002, 0x0000f202,
1683 	0x80798179, 0xd7610002,
1684 	0x0000f203, 0x80798179,
1685 	0xd7610002, 0x0000f204,
1686 	0x80798179, 0xd7610002,
1687 	0x0000f205, 0x80798179,
1688 	0xd7610002, 0x0000f206,
1689 	0x80798179, 0xd7610002,
1690 	0x0000f207, 0x80798179,
1691 	0xd7610002, 0x0000f208,
1692 	0x80798179, 0xd7610002,
1693 	0x0000f209, 0x80798179,
1694 	0xd7610002, 0x0000f20a,
1695 	0x80798179, 0xd7610002,
1696 	0x0000f20b, 0x80798179,
1697 	0xd7610002, 0x0000f20c,
1698 	0x80798179, 0xd7610002,
1699 	0x0000f20d, 0x80798179,
1700 	0xd7610002, 0x0000f20e,
1701 	0x80798179, 0xd7610002,
1702 	0x0000f20f, 0x80798179,
1703 	0xbf06a079, 0xbf840006,
1704 	0xe0704000, 0x705d0200,
1705 	0x8070ff70, 0x00000080,
1706 	0xbef90380, 0x7e040280,
1707 	0x807c907c, 0xbf0aff7c,
1708 	0x00000060, 0xbf85ffbc,
1709 	0xbe802f00, 0xbe822f02,
1710 	0xbe842f04, 0xbe862f06,
1711 	0xbe882f08, 0xbe8a2f0a,
1712 	0xd7610002, 0x0000f200,
1713 	0x80798179, 0xd7610002,
1714 	0x0000f201, 0x80798179,
1715 	0xd7610002, 0x0000f202,
1716 	0x80798179, 0xd7610002,
1717 	0x0000f203, 0x80798179,
1718 	0xd7610002, 0x0000f204,
1719 	0x80798179, 0xd7610002,
1720 	0x0000f205, 0x80798179,
1721 	0xd7610002, 0x0000f206,
1722 	0x80798179, 0xd7610002,
1723 	0x0000f207, 0x80798179,
1724 	0xd7610002, 0x0000f208,
1725 	0x80798179, 0xd7610002,
1726 	0x0000f209, 0x80798179,
1727 	0xd7610002, 0x0000f20a,
1728 	0x80798179, 0xd7610002,
1729 	0x0000f20b, 0x80798179,
1730 	0xe0704000, 0x705d0200,
1731 	0xbefe03c1, 0x907c9973,
1732 	0x877c817c, 0xbf06817c,
1733 	0xbf850002, 0xbeff0380,
1734 	0xbf820001, 0xbeff03c1,
1735 	0xb97b4306, 0x877bc17b,
1736 	0xbf840044, 0xbf8a0000,
1737 	0x877aff73, 0x04000000,
1738 	0xbf840040, 0x8f7b867b,
1739 	0x8f7b827b, 0xbef6037b,
1740 	0xb9702a05, 0x80708170,
1741 	0xbf0d9973, 0xbf850002,
1742 	0x8f708970, 0xbf820001,
1743 	0x8f708a70, 0xb97a1e06,
1744 	0x8f7a8a7a, 0x80707a70,
1745 	0x8070ff70, 0x00000200,
1746 	0x8070ff70, 0x00000080,
1747 	0xbef603ff, 0x01000000,
1748 	0xd7650000, 0x000100c1,
1749 	0xd7660000, 0x000200c1,
1750 	0x16000084, 0x907c9973,
1751 	0x877c817c, 0xbf06817c,
1752 	0xbefc0380, 0xbf850012,
1753 	0xbe8303ff, 0x00000080,
1754 	0xbf800000, 0xbf800000,
1755 	0xbf800000, 0xd8d80000,
1756 	0x01000000, 0xbf8c0000,
1757 	0xe0704000, 0x705d0100,
1758 	0x807c037c, 0x80700370,
1759 	0xd5250000, 0x0001ff00,
1760 	0x00000080, 0xbf0a7b7c,
1761 	0xbf85fff4, 0xbf820011,
1762 	0xbe8303ff, 0x00000100,
1763 	0xbf800000, 0xbf800000,
1764 	0xbf800000, 0xd8d80000,
1765 	0x01000000, 0xbf8c0000,
1766 	0xe0704000, 0x705d0100,
1767 	0x807c037c, 0x80700370,
1768 	0xd5250000, 0x0001ff00,
1769 	0x00000100, 0xbf0a7b7c,
1770 	0xbf85fff4, 0xbefe03c1,
1771 	0x907c9973, 0x877c817c,
1772 	0xbf06817c, 0xbf850004,
1773 	0xbef003ff, 0x00000200,
1774 	0xbeff0380, 0xbf820003,
1775 	0xbef003ff, 0x00000400,
1776 	0xbeff03c1, 0xb97b2a05,
1777 	0x807b817b, 0x8f7b827b,
1778 	0x907c9973, 0x877c817c,
1779 	0xbf06817c, 0xbf850017,
1780 	0xbef603ff, 0x01000000,
1781 	0xbefc0384, 0xbf0a7b7c,
1782 	0xbf840037, 0x7e008700,
1783 	0x7e028701, 0x7e048702,
1784 	0x7e068703, 0xe0704000,
1785 	0x705d0000, 0xe0704080,
1786 	0x705d0100, 0xe0704100,
1787 	0x705d0200, 0xe0704180,
1788 	0x705d0300, 0x807c847c,
1789 	0x8070ff70, 0x00000200,
1790 	0xbf0a7b7c, 0xbf85ffef,
1791 	0xbf820025, 0xbef603ff,
1792 	0x01000000, 0xbefc0384,
1793 	0xbf0a7b7c, 0xbf840020,
1794 	0x7e008700, 0x7e028701,
1795 	0x7e048702, 0x7e068703,
1796 	0xe0704000, 0x705d0000,
1797 	0xe0704100, 0x705d0100,
1798 	0xe0704200, 0x705d0200,
1799 	0xe0704300, 0x705d0300,
1800 	0x807c847c, 0x8070ff70,
1801 	0x00000400, 0xbf0a7b7c,
1802 	0xbf85ffef, 0xb97b1e06,
1803 	0x877bc17b, 0xbf84000c,
1804 	0x8f7b837b, 0x807b7c7b,
1805 	0xbefe03c1, 0xbeff0380,
1806 	0x7e008700, 0xe0704000,
1807 	0x705d0000, 0x807c817c,
1808 	0x8070ff70, 0x00000080,
1809 	0xbf0a7b7c, 0xbf85fff8,
1810 	0xbf82013a, 0xbef4037e,
1811 	0x8775ff7f, 0x0000ffff,
1812 	0x8875ff75, 0x00040000,
1813 	0xbef60380, 0xbef703ff,
1814 	0x10807fac, 0x876eff7f,
1815 	0x08000000, 0x906e836e,
1816 	0x88776e77, 0x876eff7f,
1817 	0x70000000, 0x906e816e,
1818 	0x88776e77, 0xb97202dc,
1819 	0x8f729972, 0x8872727f,
1820 	0x876eff7f, 0x04000000,
1821 	0xbf840034, 0xbefe03c1,
1822 	0x907c9972, 0x877c817c,
1823 	0xbf06817c, 0xbf850002,
1824 	0xbeff0380, 0xbf820001,
1825 	0xbeff03c1, 0xb96f4306,
1826 	0x876fc16f, 0xbf840029,
1827 	0x8f6f866f, 0x8f6f826f,
1828 	0xbef6036f, 0xb9782a05,
1829 	0x80788178, 0xbf0d9972,
1830 	0xbf850002, 0x8f788978,
1831 	0xbf820001, 0x8f788a78,
1832 	0xb96e1e06, 0x8f6e8a6e,
1833 	0x80786e78, 0x8078ff78,
1834 	0x00000200, 0x8078ff78,
1835 	0x00000080, 0xbef603ff,
1836 	0x01000000, 0x907c9972,
1837 	0x877c817c, 0xbf06817c,
1838 	0xbefc0380, 0xbf850009,
1839 	0xe0310000, 0x781d0000,
1840 	0x807cff7c, 0x00000080,
1841 	0x8078ff78, 0x00000080,
1842 	0xbf0a6f7c, 0xbf85fff8,
1843 	0xbf820008, 0xe0310000,
1844 	0x781d0000, 0x807cff7c,
1845 	0x00000100, 0x8078ff78,
1846 	0x00000100, 0xbf0a6f7c,
1847 	0xbf85fff8, 0xbef80380,
1848 	0xbefe03c1, 0x907c9972,
1849 	0x877c817c, 0xbf06817c,
1850 	0xbf850002, 0xbeff0380,
1851 	0xbf820001, 0xbeff03c1,
1852 	0xb96f2a05, 0x806f816f,
1853 	0x8f6f826f, 0x907c9972,
1854 	0x877c817c, 0xbf06817c,
1855 	0xbf850021, 0xbef603ff,
1856 	0x01000000, 0xbeee0378,
1857 	0x8078ff78, 0x00000200,
1858 	0xbefc0384, 0xe0304000,
1859 	0x785d0000, 0xe0304080,
1860 	0x785d0100, 0xe0304100,
1861 	0x785d0200, 0xe0304180,
1862 	0x785d0300, 0xbf8c3f70,
1863 	0x7e008500, 0x7e028501,
1864 	0x7e048502, 0x7e068503,
1865 	0x807c847c, 0x8078ff78,
1866 	0x00000200, 0xbf0a6f7c,
1867 	0xbf85ffee, 0xe0304000,
1868 	0x6e5d0000, 0xe0304080,
1869 	0x6e5d0100, 0xe0304100,
1870 	0x6e5d0200, 0xe0304180,
1871 	0x6e5d0300, 0xbf820032,
1872 	0xbef603ff, 0x01000000,
1873 	0xbeee0378, 0x8078ff78,
1874 	0x00000400, 0xbefc0384,
1875 	0xe0304000, 0x785d0000,
1876 	0xe0304100, 0x785d0100,
1877 	0xe0304200, 0x785d0200,
1878 	0xe0304300, 0x785d0300,
1879 	0xbf8c3f70, 0x7e008500,
1880 	0x7e028501, 0x7e048502,
1881 	0x7e068503, 0x807c847c,
1882 	0x8078ff78, 0x00000400,
1883 	0xbf0a6f7c, 0xbf85ffee,
1884 	0xb96f1e06, 0x876fc16f,
1885 	0xbf84000e, 0x8f6f836f,
1886 	0x806f7c6f, 0xbefe03c1,
1887 	0xbeff0380, 0xe0304000,
1888 	0x785d0000, 0xbf8c3f70,
1889 	0x7e008500, 0x807c817c,
1890 	0x8078ff78, 0x00000080,
1891 	0xbf0a6f7c, 0xbf85fff7,
1892 	0xbeff03c1, 0xe0304000,
1893 	0x6e5d0000, 0xe0304100,
1894 	0x6e5d0100, 0xe0304200,
1895 	0x6e5d0200, 0xe0304300,
1896 	0x6e5d0300, 0xbf8c3f70,
1897 	0xb9782a05, 0x80788178,
1898 	0xbf0d9972, 0xbf850002,
1899 	0x8f788978, 0xbf820001,
1900 	0x8f788a78, 0xb96e1e06,
1901 	0x8f6e8a6e, 0x80786e78,
1902 	0x8078ff78, 0x00000200,
1903 	0x80f8ff78, 0x00000050,
1904 	0xbef603ff, 0x01000000,
1905 	0xbefc03ff, 0x0000006c,
1906 	0x80f89078, 0xf429003a,
1907 	0xf0000000, 0xbf8cc07f,
1908 	0x80fc847c, 0xbf800000,
1909 	0xbe803100, 0xbe823102,
1910 	0x80f8a078, 0xf42d003a,
1911 	0xf0000000, 0xbf8cc07f,
1912 	0x80fc887c, 0xbf800000,
1913 	0xbe803100, 0xbe823102,
1914 	0xbe843104, 0xbe863106,
1915 	0x80f8c078, 0xf431003a,
1916 	0xf0000000, 0xbf8cc07f,
1917 	0x80fc907c, 0xbf800000,
1918 	0xbe803100, 0xbe823102,
1919 	0xbe843104, 0xbe863106,
1920 	0xbe883108, 0xbe8a310a,
1921 	0xbe8c310c, 0xbe8e310e,
1922 	0xbf06807c, 0xbf84fff0,
1923 	0xb9782a05, 0x80788178,
1924 	0xbf0d9972, 0xbf850002,
1925 	0x8f788978, 0xbf820001,
1926 	0x8f788a78, 0xb96e1e06,
1927 	0x8f6e8a6e, 0x80786e78,
1928 	0x8078ff78, 0x00000200,
1929 	0xbef603ff, 0x01000000,
1930 	0xf4211bfa, 0xf0000000,
1931 	0x80788478, 0xf4211b3a,
1932 	0xf0000000, 0x80788478,
1933 	0xf4211b7a, 0xf0000000,
1934 	0x80788478, 0xf4211c3a,
1935 	0xf0000000, 0x80788478,
1936 	0xf4211c7a, 0xf0000000,
1937 	0x80788478, 0xf4211eba,
1938 	0xf0000000, 0x80788478,
1939 	0xf4211efa, 0xf0000000,
1940 	0x80788478, 0xf4211e7a,
1941 	0xf0000000, 0x80788478,
1942 	0xf4211cfa, 0xf0000000,
1943 	0x80788478, 0xf4211bba,
1944 	0xf0000000, 0x80788478,
1945 	0xbf8cc07f, 0xb9eef814,
1946 	0xf4211bba, 0xf0000000,
1947 	0x80788478, 0xbf8cc07f,
1948 	0xb9eef815, 0xbefc036f,
1949 	0xbefe0370, 0xbeff0371,
1950 	0x876f7bff, 0x000003ff,
1951 	0xb9ef4803, 0x876f7bff,
1952 	0xfffff800, 0x906f8b6f,
1953 	0xb9efa2c3, 0xb9f3f801,
1954 	0xb96e2a05, 0x806e816e,
1955 	0xbf0d9972, 0xbf850002,
1956 	0x8f6e896e, 0xbf820001,
1957 	0x8f6e8a6e, 0x806eff6e,
1958 	0x00000200, 0x806e746e,
1959 	0x826f8075, 0x876fff6f,
1960 	0x0000ffff, 0xf4091c37,
1961 	0xfa000050, 0xf4091d37,
1962 	0xfa000060, 0xf4011e77,
1963 	0xfa000074, 0xbf8cc07f,
1964 	0x876dff6d, 0x0000ffff,
1965 	0x87fe7e7e, 0x87ea6a6a,
1966 	0xb9faf802, 0xbf8a0000,
1967 	0xbe80226c, 0xbf810000,
1968 	0xbf9f0000, 0xbf9f0000,
1969 	0xbf9f0000, 0xbf9f0000,
1970 	0xbf9f0000, 0x00000000,
1971 };
1972