The header of a .mrom image declares its length to be only a few kilobytes; the remainder is accessed via a sideband mechanism. This makes it difficult to append an additional ROM image, such as an EFI ROM. Add a second, dummy ROM header covering the payload portion of the .mrom image, allowing consumers to locate any appended ROM images in the usual way. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
663 | 663 |
|
664 | 664 |
|
665 | 665 |
|
666 |
|
|
666 |
|
|
667 | 667 |
|
668 | 668 |
|
669 | 669 |
|
670 | 670 |
|
671 | 671 |
|
672 |
|
|
672 | 673 |
|
673 | 674 |
|
674 | 675 |
|
675 | 676 |
|
676 | 677 |
|
677 | 678 |
|
679 |
|
|
680 |
|
|
681 |
|
|
678 | 682 |
|
679 | 683 |
|
680 | 684 |
|
|
||
729 | 733 |
|
730 | 734 |
|
731 | 735 |
|
732 |
|
|
736 |
|
|
733 | 737 |
|
734 | 738 |
|
735 | 739 |
|
|
||
850 | 854 |
|
851 | 855 |
|
852 | 856 |
|
853 |
|
|
854 |
|
|
855 |
|
|
856 |
|
|
857 |
|
|
858 |
|
|
859 |
|
|
860 |
|
|
861 |
|
|
862 |
|
|
863 |
|
|
864 | 857 |
|
865 | 858 |
|
866 | 859 |
|
|
||
914 | 907 |
|
915 | 908 |
|
916 | 909 |
|
910 |
|
|
911 |
|
|
912 |
|
|
913 |
|
|
917 | 914 |
|
918 | 915 |
|
919 | 916 |
|
|
||
927 | 924 |
|
928 | 925 |
|
929 | 926 |
|
927 |
|
|
928 |
|
|
929 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
33 | 34 |
|
34 | 35 |
|
35 | 36 |
|
|
||
46 | 47 |
|
47 | 48 |
|
48 | 49 |
|
50 |
|
|
49 | 51 |
|
50 | 52 |
|
53 |
|
|
51 | 54 |
|
52 | 55 |
|
53 | 56 |
|
|
||
56 | 59 |
|
57 | 60 |
|
58 | 61 |
|
59 |
|
|
60 | 62 |
|
61 | 63 |
|
62 | 64 |
|
65 |
|
|
63 | 66 |
|
64 | 67 |
|
65 |
|
|
68 |
|
|
66 | 69 |
|
67 |
|
|
68 | 70 |
|
69 | 71 |
|
70 | 72 |
|
71 | 73 |
|
72 | 74 |
|
73 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
74 | 80 |
|
75 |
|
|
76 | 81 |
|
77 | 82 |
|
78 | 83 |
|
|
||
159 | 164 |
|
160 | 165 |
|
161 | 166 |
|
162 |
|
|
163 | 167 |
|
164 | 168 |
|
165 |
|
|
166 |
|
|
167 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
168 | 174 |
|
169 |
|
|
170 | 175 |
|
171 | 176 |
|
172 | 177 |
|
173 | 178 |
|
174 | 179 |
|
175 | 180 |
|
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
176 | 186 |
|
177 | 187 |
|
178 | 188 |
|
189 |
|
|
179 | 190 |
|
180 | 191 |
|
181 | 192 |
|
182 |
|
|
183 | 193 |
|
184 | 194 |
|
185 | 195 |
|
|
||
200 | 210 |
|
201 | 211 |
|
202 | 212 |
|
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
|
207 |
|
|
208 | 213 |
|
209 | 214 |
|
210 | 215 |
|
|
||
419 | 424 |
|
420 | 425 |
|
421 | 426 |
|
422 |
|
|
427 |
|
|
423 | 428 |
|
429 |
|
|
430 |
|
|
424 | 431 |
|
425 |
|
|
426 |
|
|
432 |
|
|
433 |
|
|
434 |
|
|
435 |
|
|
436 |
|
|
437 |
|
|
438 |
|
|
439 |
|
|
440 |
|
|
441 |
|
|
442 |
|
|
443 |
|
|
444 |
|
|
445 |
|
|
446 |
|
|
447 |
|
|
448 |
|
|
449 |
|
|
450 |
|
|
451 |
|
|
452 |
|
|
453 |
|
|
454 |
|
|
455 |
|
|
456 |
|
|
457 |
|
|
458 |
|
|
459 |
|
|
460 |
|
|
461 |
|
|
462 |
|
|
463 |
|
|
464 |
|
|
465 |
|
|
466 |
|
|
467 |
|
|
468 |
|
|
469 |
|
|
470 |
|
|
471 |
|
|
472 |
|
|
473 |
|
|
474 |
|
|
475 |
|
|
427 | 476 |
|
428 |
|
|
477 |
|
|
478 |
|
|
479 |
|
|
480 |
|
|
481 |
|
|
482 |
|
|
483 |
|
|
484 |
|
|
485 |
|
|
429 | 486 |
|
430 |
|
|
431 |
|
|
432 |
|
|
487 |
|
|
488 |
|
|
489 |
|
|
433 | 490 |
|
434 | 491 |
|
|
||
39 | 39 |
|
40 | 40 |
|
41 | 41 |
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
42 | 50 |
|
43 | 51 |
|
44 | 52 |
|
|
||
85 | 93 |
|
86 | 94 |
|
87 | 95 |
|
88 |
|
|
96 |
|
|
89 | 97 |
|
90 | 98 |
|
91 | 99 |
|
|
||
98 | 106 |
|
99 | 107 |
|
100 | 108 |
|
101 |
|
|
109 |
|
|
102 | 110 |
|
103 | 111 |
|
104 | 112 |
|
|
||
327 | 335 |
|
328 | 336 |
|
329 | 337 |
|
330 |
|
|
338 |
|
|
339 |
|
|
331 | 340 |
|
332 | 341 |
|
333 | 342 |
|
|
||
341 | 350 |
|
342 | 351 |
|
343 | 352 |
|
344 |
|
|
345 |
|
|
353 |
|
|
354 |
|
|
346 | 355 |
|
347 | 356 |
|
348 |
|
|
357 |
|
|
349 | 358 |
|
350 | 359 |
|
351 | 360 |
|
|
||
573 | 582 |
|
574 | 583 |
|
575 | 584 |
|
576 |
|
|
585 |
|
|
577 | 586 |
|
578 | 587 |
|
579 |
|
|
588 |
|
|
580 | 589 |
|
581 |
|
|
582 |
|
|
583 |
|
|
584 |
|
|
585 |
|
|
586 |
|
|
587 |
|
|
588 |
|
|
589 |
|
|
590 |
|
|
591 |
|
|
592 |
|
|
593 |
|
|
594 |
|
|
595 |
|
|
596 |
|
|
597 |
|
|
598 |
|
|
599 |
|
|
600 |
|
|
590 |
|
|
601 | 591 |
|
602 | 592 |
|
603 | 593 |
|
|
||
1 |
|
|
1 |
|
|
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
|
||
121 | 121 |
|
122 | 122 |
|
123 | 123 |
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
124 | 141 |
|
125 | 142 |
|
126 | 143 |
|
|
||
187 | 204 |
|
188 | 205 |
|
189 | 206 |
|
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
|
|
190 | 212 |
|
191 | 213 |
|
214 |
|
|
192 | 215 |
|
193 | 216 |
|
194 | 217 |
|
|
||
237 | 237 |
|
238 | 238 |
|
239 | 239 |
|
240 |
|
|
240 |
|
|
241 | 241 |
|
242 |
|
|
243 | 242 |
|
244 | 243 |
|
245 | 244 |
|
246 | 245 |
|
247 | 246 |
|
248 | 247 |
|
248 |
|
|
249 | 249 |
|
250 | 250 |
|
251 | 251 |
|
|
||
319 | 319 |
|
320 | 320 |
|
321 | 321 |
|
322 |
|
|
322 |
|
|
323 | 323 |
|
324 | 324 |
|
325 | 325 |
|
326 | 326 |
|
327 | 327 |
|
328 | 328 |
|
329 |
|
|
329 |
|
|
330 | 330 |
|
331 | 331 |
|
332 | 332 |
|
333 | 333 |
|
334 | 334 |
|
335 | 335 |
|
336 |
|
|
336 |
|
|
337 | 337 |
|
338 | 338 |
|
339 | 339 |
|
340 | 340 |
|
341 | 341 |
|
342 | 342 |
|
343 |
|
|
343 |
|
|
344 | 344 |
|
345 | 345 |
|
346 | 346 |
|
347 | 347 |
|
348 | 348 |
|
349 | 349 |
|
350 |
|
|
350 |
|
|
351 | 351 |
|
352 | 352 |
|
353 | 353 |
|
354 | 354 |
|
355 | 355 |
|
356 | 356 |
|
357 |
|
|
357 |
|
|
358 |
|
|
359 |
|
|
360 |
|
|
361 |
|
|
362 |
|
|
363 |
|
|
364 |
|
|
365 |
|
|
366 |
|
|
367 |
|
|
368 |
|
|
369 |
|
|
370 |
|
|
371 |
|
|
372 |
|
|
373 |
|
|
374 |
|
|
375 |
|
|
376 |
|
|
377 |
|
|
378 |
|
|
379 |
|
|
380 |
|
|
381 |
|
|
382 |
|
|
383 |
|
|
384 |
|
|
385 |
|
|
386 |
|
|
387 |
|
|
388 |
|
|
389 |
|
|
390 |
|
|
391 |
|
|
392 |
|
|
393 |
|
|
394 |
|
|
395 |
|
|
396 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
358 | 406 |
|
359 | 407 |
|
360 | 408 |
|
|
||
374 | 422 |
|
375 | 423 |
|
376 | 424 |
|
425 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
|
|
377 | 431 |
|
378 | 432 |
|
379 | 433 |
|