VirtualBox

Changeset 45710 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Apr 24, 2013 3:35:11 PM (12 years ago)
Author:
vboxsync
Message:

BIOS: Fixed PCI routing query service.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/pcibios.c

    r42793 r45710  
    116116typedef struct {
    117117    pushad_regs_t   gr;
     118    uint16_t        ds;
    118119    uint16_t        es;
    119     uint16_t        ds;
    120120    iret_addr_t     ra;
    121121} pci_regs_t;
     
    388388    case GET_IRQ_ROUTING:
    389389        route_buf = ES :> (void *)DI;
     390        BX_DEBUG_PCI("PCI: Route Buf %04X:%04X size %04X (at %04X:%04X)\n",
     391                     FP_SEG(route_buf->buf_ptr), FP_OFF(route_buf->buf_ptr),
     392                     route_buf->buf_size, ES, DI);
    390393        if (pci_routing_table_size > route_buf->buf_size) {
    391394            SET_AH(BUFFER_TOO_SMALL);
     
    396399            BX = (1 << 9) | (1 << 11);
    397400        }
     401        route_buf->buf_size = pci_routing_table_size;
    398402        break;
    399403    default:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette