2 ===================================================================
3 RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v
4 retrieving revision 1.160
5 diff -u -w -r1.160 rombios.c
6 --- rombios.c 25 Jan 2006 17:51:49 -0000 1.160
7 +++ rombios.c 2 Apr 2006 18:29:51 -0000
10 printf(BX_APPNAME" BIOS - build: %s\n%s\nOptions: ",
11 BIOS_BUILD_DATE, bios_cvs_version_string);
21 + printf("apmbios pcibios eltorito \n\n");
25 //--------------------------------------------------------------------------
30 + and dword ptr[esp+4],0xfffffffc ;; reset CS.RPL for kqemu
34 @@ -8823,17 +8828,17 @@
41 + and dword ptr[esp+4],0xfffffffc ;; reset CS.RPL for kqemu
50 + and dword ptr[esp+4],0xfffffffc ;; reset CS.RPL for kqemu
56 pci_real_f0d: ;; write configuration dword
58 - jne pci_real_unknown
60 call pci_real_select_reg
63 @@ -8979,6 +8984,46 @@
67 +pci_real_f0e: ;; get irq routing options
69 + jne pci_real_unknown
71 + cmp word ptr [di], #pci_routing_table_structure_end - pci_routing_table_structure_start
72 + jb pci_real_too_small
74 + mov word ptr [di], #pci_routing_table_structure_end - pci_routing_table_structure_start
82 + mov si, #pci_routing_table_structure_start
90 + mov cx, #pci_routing_table_structure_end - pci_routing_table_structure_start
99 + mov bx, #(1 << 9) | (1 << 11) ;; irq 9 and 11 are used
103 + mov word ptr [di], #pci_routing_table_structure_end - pci_routing_table_structure_start
110 @@ -9019,6 +9064,7 @@
111 dw 0,0 ;; Miniport data
112 db 0,0,0,0,0,0,0,0,0,0,0 ;; reserved
114 +pci_routing_table_structure_start:
115 ;; first slot entry PCI-to-ISA (embedded)
116 db 0 ;; pci bus number
117 db 0x08 ;; pci device number (bit 7-3)
118 @@ -9097,6 +9143,7 @@
119 dw 0xdef8 ;; IRQ bitmap INTD#
120 db 5 ;; physical slot (0 = embedded)
122 +pci_routing_table_structure_end: