Certain combinations of PXE stack and BIOS result in a broken INT 18 call, which will leave the system displaying a "PRESS ANY KEY TO REBOOT" message instead of proceeding to the next boot device. On these systems, returning via the PXE stack is the only way to continue to the next boot device. Returning via the PXE stack works only if we haven't already blown away the PXE base code in pxeprefix.S. In most circumstances, we do want to blow away the PXE base code. Base memory is a limited resource, and it is desirable to reclaim as much as possible. When we perform an iSCSI boot, we need to place the iBFT above the 512kB mark, because otherwise it may not be detected by the loaded OS; this may not be possible if the PXE base code is still occupying that memory. Introduce a new prefix type .kkpxe which will preserve both the PXE base code and the UNDI driver (as compared to .kpxe, which preserves the UNDI driver but uninstalls the PXE base code). This prefix type can be used on systems that are known to experience the specific problem of INT 18 being broken, or in builds (such as gpxelinux.0) for which it is particularly important to know that returning to the BIOS will work. Written by H. Peter Anvin <hpa@zytor.com> and Stefan Hajnoczi <stefanha@gmail.com>, minor structural alterations by Michael Brown <mcb30@etherboot.org>.tags/v0.9.7
|
||
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 |
|
|
16 | 17 |
|
17 | 18 |
|
18 | 19 |
|
|
||
669 | 669 |
|
670 | 670 |
|
671 | 671 |
|
672 |
|
|
673 |
|
|
674 |
|
|
675 |
|
|
676 |
|
|
677 |
|
|
678 |
|
|
679 |
|
|
680 |
|
|
672 |
|
|
673 |
|
|
674 |
|
|
675 |
|
|
676 |
|
|
677 |
|
|
678 |
|
|
679 |
|
|
680 |
|
|
681 |
|
|
682 |
|
|
683 |
|
|
684 |
|
|
681 | 685 |
|
682 | 686 |
|
683 | 687 |
|
|
||
731 | 735 |
|
732 | 736 |
|
733 | 737 |
|
738 |
|
|
734 | 739 |
|
735 | 740 |
|
736 | 741 |
|
737 | 742 |
|
738 | 743 |
|
744 |
|
|
739 | 745 |
|
740 | 746 |
|
741 | 747 |
|
|
||
758 | 764 |
|
759 | 765 |
|
760 | 766 |
|
761 |
|
|
762 |
|
|
763 |
|
|
764 |
|
|
765 |
|
|
766 |
|
|
767 |
|
|
768 |
|
|
769 |
|
|
770 |
|
|
771 |
|
|
772 |
|
|
773 |
|
|
767 |
|
|
768 |
|
|
769 |
|
|
770 |
|
|
771 |
|
|
772 |
|
|
773 |
|
|
774 |
|
|
775 |
|
|
776 |
|
|
777 |
|
|
778 |
|
|
779 |
|
|
780 |
|
|
781 |
|
|
782 |
|
|
783 |
|
|
784 |
|
|
785 |
|
|
786 |
|
|
774 | 787 |
|
775 | 788 |
|
776 | 789 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
|
||
107 | 108 |
|
108 | 109 |
|
109 | 110 |
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
||
95 | 95 |
|
96 | 96 |
|
97 | 97 |
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
98 | 104 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
14 |
|
|
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
16 | 18 |
|
17 | 19 |
|
18 |
|
|
19 | 20 |
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
21 | 39 |
|
22 |
|
|
23 |
|
|
24 | 40 |
|
25 |
|
|
26 |
|
|
41 |
|
|
27 | 42 |
|
28 |
|
|
29 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
30 | 48 |
|
31 | 49 |
|
32 | 50 |
|
33 |
|
|
51 |
|
|
34 | 52 |
|
35 | 53 |
|
36 | 54 |
|
|
||
249 | 267 |
|
250 | 268 |
|
251 | 269 |
|
270 |
|
|
252 | 271 |
|
253 | 272 |
|
254 | 273 |
|
|
||
256 | 275 |
|
257 | 276 |
|
258 | 277 |
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 | 278 |
|
265 | 279 |
|
266 | 280 |
|
|
||
273 | 287 |
|
274 | 288 |
|
275 | 289 |
|
290 |
|
|
291 |
|
|
276 | 292 |
|
277 | 293 |
|
278 | 294 |
|
|
||
511 | 527 |
|
512 | 528 |
|
513 | 529 |
|
530 |
|
|
531 |
|
|
532 |
|
|
533 |
|
|
514 | 534 |
|
515 | 535 |
|
516 | 536 |
|
|
||
547 | 567 |
|
548 | 568 |
|
549 | 569 |
|
550 |
|
|
570 |
|
|
571 |
|
|
551 | 572 |
|
552 | 573 |
|
553 | 574 |
|
554 | 575 |
|
555 | 576 |
|
556 | 577 |
|
557 |
|
|
578 |
|
|
579 |
|
|
558 | 580 |
|
559 | 581 |
|
560 | 582 |
|
|
||
572 | 594 |
|
573 | 595 |
|
574 | 596 |
|
597 |
|
|
598 |
|
|
599 |
|
|
600 |
|
|
575 | 601 |
|
576 | 602 |
|
577 | 603 |
|
|
||
588 | 614 |
|
589 | 615 |
|
590 | 616 |
|
591 |
|
|
617 |
|
|
618 |
|
|
619 |
|
|
620 |
|
|
621 |
|
|
622 |
|
|
623 |
|
|
624 |
|
|
625 |
|
|
626 |
|
|
627 |
|
|
628 |
|
|
629 |
|
|
630 |
|
|
631 |
|
|
632 |
|
|
633 |
|
|
634 |
|
|
635 |
|
|
636 |
|
|
592 | 637 |
|
593 | 638 |
|
|
||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
66 | 67 |
|
67 | 68 |
|
68 | 69 |
|