VirtualBox

Ignore:
Timestamp:
Oct 24, 2016 2:42:05 PM (8 years ago)
Author:
vboxsync
Message:

PDMPCIDEV: s/config/abConfig/ everywhere, removing the legacy alias.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r64387 r64393  
    58675867    PCIDevSetInterruptPin (&pThis->dev, 0x01);
    58685868
    5869     pThis->dev.config[0x70] = VBOX_PCI_CAP_ID_PM; /* Capability ID: PCI Power Management Interface */
    5870     pThis->dev.config[0x71] = 0xa8; /* next */
    5871     pThis->dev.config[0x72] = 0x03; /* version ? */
    5872 
    5873     pThis->dev.config[0x90] = 0x40; /* AHCI mode. */
    5874     pThis->dev.config[0x92] = 0x3f;
    5875     pThis->dev.config[0x94] = 0x80;
    5876     pThis->dev.config[0x95] = 0x01;
    5877     pThis->dev.config[0x97] = 0x78;
    5878 
    5879     pThis->dev.config[0xa8] = 0x12;                /* SATACR capability */
    5880     pThis->dev.config[0xa9] = 0x00;                /* next */
     5869    pThis->dev.abConfig[0x70] = VBOX_PCI_CAP_ID_PM; /* Capability ID: PCI Power Management Interface */
     5870    pThis->dev.abConfig[0x71] = 0xa8; /* next */
     5871    pThis->dev.abConfig[0x72] = 0x03; /* version ? */
     5872
     5873    pThis->dev.abConfig[0x90] = 0x40; /* AHCI mode. */
     5874    pThis->dev.abConfig[0x92] = 0x3f;
     5875    pThis->dev.abConfig[0x94] = 0x80;
     5876    pThis->dev.abConfig[0x95] = 0x01;
     5877    pThis->dev.abConfig[0x97] = 0x78;
     5878
     5879    pThis->dev.abConfig[0xa8] = 0x12;              /* SATACR capability */
     5880    pThis->dev.abConfig[0xa9] = 0x00;              /* next */
    58815881    PCIDevSetWord(&pThis->dev, 0xaa, 0x0010);      /* Revision */
    58825882    PCIDevSetDWord(&pThis->dev, 0xac, 0x00000028); /* SATA Capability Register 1 */
     
    60716071            /* Mark that a device is present on that port */
    60726072            if (i < 6)
    6073                 pThis->dev.config[0x93] |= (1 << i);
     6073                pThis->dev.abConfig[0x93] |= (1 << i);
    60746074
    60756075            /*
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