Changeset 38890 in vbox
- Timestamp:
- Sep 27, 2011 5:04:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc
r38699 r38890 44 44 45 45 extrn pcibios_protected:near ; in a 32-bit segment 46 47 ifdef DEBUG 48 49 ; Publics for easier debugging and disassembly 50 51 public pcibios_real 52 public pci_present 53 public pci_real_f02 54 public pci_real_devloop 55 public pci_real_nextdev 56 public pci_real_f03 57 public pci_real_devloop2 58 public pci_real_nextdev2 59 public pci_real_ok 60 public pci_real_fail 61 public pci_real_select_reg 62 public pcibios_init_iomem_bases 63 public pci_init_io_loop1 64 public pci_init_io_loop2 65 public init_io_base 66 public next_pci_base 67 public enable_iomem_space 68 public next_pci_dev 69 public pcibios_init_set_elcr 70 public is_master_pic 71 public pcibios_init_irqs 72 public pci_init_irq_loop1 73 public pci_init_irq_loop2 74 public pci_test_int_pin 75 public pirq_found 76 public next_pci_func 77 public next_pir_entry 78 public pci_init_end 79 80 endif 46 81 47 82 .386 … … 319 354 mov eax, 0E0000000h ; base for memory init 320 355 push eax 321 mov ax, 0 C000h ; base for i/o init356 mov ax, 0D000h ; base for i/o init 322 357 push ax 323 358 mov ax, 010h ; start at base address #0 … … 366 401 mov cx, ax 367 402 mov ax, 0FFFFh 368 out dx, ax369 in ax, dx403 out dx, eax 404 in eax, dx 370 405 cmp ax, cx 371 406 je next_pci_base … … 374 409 mov cx, ax 375 410 mov ax, [bp-6] 376 out dx, ax411 out dx, eax 377 412 add ax, cx ; calculate next free i/o base 378 413 add ax, 00100h
Note:
See TracChangeset
for help on using the changeset viewer.