The .xrom prefix provides an experimental mechanism for loading ROM images greater than 64kB in size by mapping the expansion ROM BAR in at a hopefully-unused address. This is unreliable, and potentially dangerous. In particular, there is no guarantee that any PCI bridges between the CPU and the device will respond to accesses for the "unused" memory region that is chosen, and it is possible that the process of scanning for the "unused" memory region may end up issuing reads to other PCI devices. If this ends up trampling on a register with read side-effects belonging to an unrelated PCI device, this may cause undefined behaviour. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
867 |
|
867 |
|
868 |
|
868 |
|
869 |
|
869 |
|
870 |
|
|
|
871 |
|
|
|
872 |
|
870 |
|
873 |
|
871 |
|
874 |
|
872 |
|
|
|
||
12 |
|
12 |
|
13 |
|
13 |
|
14 |
|
14 |
|
15 |
|
|
|
16 |
|
15 |
|
17 |
|
16 |
|
18 |
|
17 |
|
|
|
||
26 |
|
25 |
|
27 |
|
26 |
|
28 |
|
27 |
|
29 |
|
|
|
30 |
|
28 |
|
31 |
|
29 |
|
32 |
|
30 |
|
|
|
||
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
28 |
|
42 |
|
29 |
|
43 |
|
30 |
|
|
|
||
46 |
|
33 |
|
47 |
|
34 |
|
48 |
|
35 |
|
49 |
|
|
|
|
36 |
|
|
50 |
|
37 |
|
51 |
|
38 |
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
|
39 |
|
|
55 |
|
40 |
|
56 |
|
41 |
|
57 |
|
42 |
|
|
|
||
61 |
|
46 |
|
62 |
|
47 |
|
63 |
|
48 |
|
64 |
|
|
|
65 |
|
49 |
|
66 |
|
50 |
|
67 |
|
51 |
|
68 |
|
52 |
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
53 |
|
75 |
|
54 |
|
76 |
|
55 |
|
|
|
||
82 |
|
61 |
|
83 |
|
62 |
|
84 |
|
63 |
|
85 |
|
|
|
|
64 |
|
|
86 |
|
65 |
|
87 |
|
66 |
|
88 |
|
67 |
|
89 |
|
68 |
|
90 |
|
|
|
|
69 |
|
|
91 |
|
70 |
|
92 |
|
71 |
|
93 |
|
72 |
|
94 |
|
73 |
|
95 |
|
74 |
|
96 |
|
|
|
97 |
|
75 |
|
98 |
|
76 |
|
99 |
|
77 |
|
|
|
||
104 |
|
82 |
|
105 |
|
83 |
|
106 |
|
84 |
|
107 |
|
|
|
108 |
|
85 |
|
109 |
|
86 |
|
110 |
|
87 |
|
|
|
||
198 |
|
175 |
|
199 |
|
176 |
|
200 |
|
177 |
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
178 |
|
207 |
|
179 |
|
208 |
|
180 |
|
|
|
||
227 |
|
199 |
|
228 |
|
200 |
|
229 |
|
201 |
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
202 |
|
234 |
|
203 |
|
235 |
|
204 |
|
|
|
||
341 |
|
310 |
|
342 |
|
311 |
|
343 |
|
312 |
|
344 |
|
|
|
|
313 |
|
|
345 |
|
314 |
|
346 |
|
315 |
|
347 |
|
316 |
|
|
|
||
395 |
|
364 |
|
396 |
|
365 |
|
397 |
|
366 |
|
398 |
|
|
|
|
367 |
|
|
399 |
|
368 |
|
400 |
|
369 |
|
401 |
|
370 |
|
|
|
||
410 |
|
379 |
|
411 |
|
380 |
|
412 |
|
381 |
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
|
|
|
417 |
|
382 |
|
418 |
|
|
|
419 |
|
|
|
420 |
|
|
|
421 |
|
|
|
422 |
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
383 |
|
431 |
|
|
|
432 |
|
|
|
433 |
|
|
|
434 |
|
|
|
435 |
|
384 |
|
436 |
|
385 |
|
437 |
|
386 |
|
|
|
||
476 |
|
425 |
|
477 |
|
426 |
|
478 |
|
427 |
|
479 |
|
|
|
|
428 |
|
|
480 |
|
429 |
|
481 |
|
430 |
|
482 |
|
431 |
|
483 |
|
432 |
|
484 |
|
433 |
|
485 |
|
434 |
|
486 |
|
|
|
|
435 |
|
|
487 |
|
436 |
|
488 |
|
437 |
|
489 |
|
438 |
|
|
|
||
530 |
|
479 |
|
531 |
|
480 |
|
532 |
|
481 |
|
533 |
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
|
|
|
538 |
|
482 |
|
539 |
|
483 |
|
540 |
|
484 |
|
|
|
||
560 |
|
504 |
|
561 |
|
505 |
|
562 |
|
506 |
|
563 |
|
|
|
564 |
|
507 |
|
565 |
|
508 |
|
566 |
|
509 |
|
567 |
|
510 |
|
568 |
|
511 |
|
569 |
|
512 |
|
570 |
|
|
|
571 |
|
|
|
572 |
|
|
|
573 |
|
|
|
574 |
|
|
|
575 |
|
|
|
576 |
|
|
|
577 |
|
|
|
578 |
|
|
|
579 |
|
|
|
580 |
|
|
|
581 |
|
|
|
582 |
|
|
|
583 |
|
|
|
584 |
|
|
|
585 |
|
|
|
586 |
|
|
|
587 |
|
|
|
588 |
|
|
|
589 |
|
513 |
|
590 |
|
514 |
|
591 |
|
515 |
|
|
|
||
604 |
|
528 |
|
605 |
|
529 |
|
606 |
|
530 |
|
607 |
|
|
|
608 |
|
|
|
609 |
|
|
|
610 |
|
|
|
611 |
|
|
|
612 |
|
|
|
613 |
|
|
|
614 |
|
|
|
615 |
|
|
|
616 |
|
|
|
617 |
|
|
|
618 |
|
|
|
619 |
|
|
|
620 |
|
|
|
621 |
|
|
|
622 |
|
|
|
623 |
|
|
|
624 |
|
|
|
625 |
|
|
|
626 |
|
|
|
627 |
|
|
|
628 |
|
|
|
629 |
|
|
|
630 |
|
|
|
631 |
|
|
|
632 |
|
|
|
633 |
|
|
|
634 |
|
|
|
635 |
|
|
|
636 |
|
|
|
637 |
|
|
|
638 |
|
|
|
639 |
|
|
|
640 |
|
|
|
641 |
|
|
|
642 |
|
|
|
643 |
|
|
|
644 |
|
|
|
645 |
|
|
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
649 |
|
|
|
650 |
|
|
|
651 |
|
|
|
652 |
|
|
|
653 |
|
|
|
654 |
|
|
|
655 |
|
|
|
656 |
|
|
|
657 |
|
|
|
658 |
|
|
|
659 |
|
|
|
660 |
|
|
|
661 |
|
|
|
662 |
|
|
|
663 |
|
|
|
664 |
|
|
|
665 |
|
|
|
666 |
|
|
|
667 |
|
|
|
668 |
|
|
|
669 |
|
|
|
670 |
|
|
|
671 |
|
|
|
672 |
|
|
|
673 |
|
|
|
674 |
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
|
|
|
678 |
|
|
|
679 |
|
|
|
680 |
|
|
|
681 |
|
|
|
682 |
|
|
|
683 |
|
|
|
684 |
|
|
|
685 |
|
|
|
686 |
|
|
|
687 |
|
|
|
688 |
|
|
|
689 |
|
|
|
690 |
|
|
|
691 |
|
|
|
692 |
|
|
|
693 |
|
|
|
694 |
|
|
|
695 |
|
|
|
696 |
|
|
|
697 |
|
|
|
698 |
|
|
|
699 |
|
|
|
700 |
|
|
|
701 |
|
|
|
702 |
|
|
|
703 |
|
|
|
704 |
|
|
|
705 |
|
|
|
706 |
|
|
|
707 |
|
|
|
708 |
|
|
|
709 |
|
|
|
710 |
|
|
|
711 |
|
|
|
712 |
|
|
|
713 |
|
|
|
714 |
|
|
|
715 |
|
|
|
716 |
|
|
|
717 |
|
|
|
718 |
|
|
|
719 |
|
|
|
720 |
|
|
|
721 |
|
|
|
722 |
|
|
|
723 |
|
|
|
724 |
|
|
|
725 |
|
|
|
726 |
|
|
|
727 |
|
|
|
728 |
|
|
|
729 |
|
|
|
730 |
|
|
|
731 |
|
|
|
732 |
|
|
|
733 |
|
|
|
734 |
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
|
|
|
738 |
|
|
|
739 |
|
|
|
740 |
|
|
|
741 |
|
|
|
742 |
|
|
|
743 |
|
|
|
744 |
|
|
|
745 |
|
|
|
746 |
|
|
|
747 |
|
|
|
748 |
|
|
|
749 |
|
|
|
750 |
|
|
|
751 |
|
|
|
752 |
|
|
|
753 |
|
|
|
754 |
|
|
|
755 |
|
|
|
756 |
|
|
|
757 |
|
|
|
758 |
|
|
|
759 |
|
|
|
760 |
|
|
|
761 |
|
|
|
762 |
|
|
|
763 |
|
|
|
764 |
|
|
|
765 |
|
|
|
766 |
|
|
|
767 |
|
|
|
768 |
|
|
|
769 |
|
|
|
770 |
|
|
|
771 |
|
|
|
772 |
|
|
|
773 |
|
|
|
774 |
|
|
|
775 |
|
|
|
776 |
|
|
|
777 |
|
|
|
778 |
|
|
|
779 |
|
|
|
780 |
|
|
|
781 |
|
|
|
782 |
|
|
|
783 |
|
|
|
784 |
|
|
|
785 |
|
|
|
786 |
|
|
|
787 |
|
|
|
788 |
|
|
|
789 |
|
|
|
790 |
|
|
|
791 |
|
|
|
792 |
|
|
|
793 |
|
|
|
794 |
|
|
|
795 |
|
|
|
796 |
|
|
|
797 |
|
|
|
798 |
|
|
|
799 |
|
|
|
800 |
|
|
|
801 |
|
|
|
802 |
|
|
|
803 |
|
|
|
804 |
|
|
|
805 |
|
|
|
806 |
|
|
|
807 |
|
|
|
808 |
|
|
|
809 |
|
|
|
810 |
|
|
|
811 |
|
|
|
812 |
|
|
|
813 |
|
|
|
814 |
|
|
|
815 |
|
|
|
816 |
|
|
|
817 |
|
|
|
818 |
|
|
|
819 |
|
|
|
820 |
|
|
|
821 |
|
|
|
822 |
|
|
|
823 |
|
|
|
824 |
|
|
|
825 |
|
|
|
826 |
|
|
|
827 |
|
|
|
828 |
|
|
|
829 |
|
|
|
830 |
|
|
|
831 |
|
|
|
832 |
|
|
|
833 |
|
|
|
834 |
|
|
|
835 |
|
|
|
836 |
|
|
|
837 |
|
|
|
838 |
|
|
|
839 |
|
|
|
840 |
|
|
|
841 |
|
|
|
842 |
|
|
|
843 |
|
|
|
844 |
|
|
|
845 |
|
|
|
846 |
|
|
|
847 |
|
|
|
848 |
|
|
|
849 |
|
|
|
850 |
|
|
|
851 |
|
|
|
852 |
|
|
|
853 |
|
|
|
854 |
|
|
|
855 |
|
|
|
856 |
|
|
|
857 |
|
|
|
858 |
|
|
|
859 |
|
|
|
860 |
|
|
|
861 |
|
|
|
862 |
|
|
|
863 |
|
|
|
864 |
|
|
|
865 |
|
|
|
866 |
|
|
|
867 |
|
|
|
868 |
|
|
|
869 |
|
|
|
870 |
|
|
|
871 |
|
|
|
872 |
|
|
|
873 |
|
|
|
874 |
|
|
|
875 |
|
|
|
876 |
|
|
|
877 |
|
|
|
878 |
|
|
|
879 |
|
|
|
880 |
|
|
|
881 |
|
|
|
882 |
|
|
|
883 |
|
|
|
884 |
|
|
|
885 |
|
|
|
886 |
|
|
|
887 |
|
|
|
888 |
|
|
|
889 |
|
|
|
890 |
|
531 |
|
891 |
|
532 |
|
892 |
|
533 |
|
|
|
||
947 |
|
588 |
|
948 |
|
589 |
|
949 |
|
590 |
|
950 |
|
|
|
951 |
|
|
|
952 |
|
|
|
953 |
|
|
|
954 |
|
|
|
955 |
|
|
|
956 |
|
|
|
957 |
|
|
|
958 |
|
591 |
|
959 |
|
592 |
|
960 |
|
593 |
|
|
|
||
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
|
||
194 |
|
194 |
|
195 |
|
195 |
|
196 |
|
196 |
|
197 |
|
|
|
198 |
|
197 |
|
199 |
|
198 |
|
200 |
|
199 |
|
|
|
||
130 |
|
130 |
|
131 |
|
131 |
|
132 |
|
132 |
|
133 |
|
|
|
134 |
|
|
|
|
133 |
|
|
|
134 |
|
|
135 |
|
135 |
|
136 |
|
136 |
|
137 |
|
|
|
|
137 |
|
|
138 |
|
138 |
|
139 |
|
139 |
|
140 |
|
|
|
|
140 |
|
|
141 |
|
141 |
|
142 |
|
142 |
|
143 |
|
143 |
|
|
|
||
146 |
|
146 |
|
147 |
|
147 |
|
148 |
|
148 |
|
149 |
|
|
|
|
149 |
|
|
150 |
|
150 |
|
151 |
|
|
|
152 |
|
|
|
|
151 |
|
|
|
152 |
|
|
153 |
|
153 |
|
154 |
|
154 |
|
155 |
|
155 |
|
|
|
||
183 |
|
183 |
|
184 |
|
184 |
|
185 |
|
185 |
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
|
186 |
|
|
|
187 |
|
|
195 |
|
188 |
|
|
189 |
|
|
196 |
|
190 |
|
197 |
|
191 |
|
198 |
|
192 |
|
|
|
||
202 |
|
196 |
|
203 |
|
197 |
|
204 |
|
198 |
|
205 |
|
|
|
|
199 |
|
|
206 |
|
200 |
|
207 |
|
201 |
|
208 |
|
202 |
|
|
|
||
219 |
|
213 |
|
220 |
|
214 |
|
221 |
|
215 |
|
222 |
|
|
|
|
216 |
|
|
223 |
|
217 |
|
224 |
|
218 |
|
225 |
|
219 |
|