VirtualBox

Changeset 11231 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Aug 8, 2008 2:26:26 AM (16 years ago)
Author:
vboxsync
Message:

DevPCI: Cosmetics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r11224 r11231  
    14381438    PDMPCIBUSREG    PciBusReg;
    14391439    int             rc;
    1440     bool            fGCEnabled;
    1441     bool            fR0Enabled;
    1442     bool            fUseIoApic;
    14431440    Assert(iInstance == 0);
    14441441
     
    14501447
    14511448    /* query whether we got an IOAPIC */
     1449    bool fUseIoApic;
    14521450    rc = CFGMR3QueryBoolDef(pCfgHandle, "IOAPIC", &fUseIoApic, false);
    14531451    if (VBOX_FAILURE(rc))
     
    14561454
    14571455    /* check if RC code is enabled. */
     1456    bool fGCEnabled;
    14581457    rc = CFGMR3QueryBoolDef(pCfgHandle, "GCEnabled", &fGCEnabled, true);
    14591458    if (VBOX_FAILURE(rc))
     
    14621461
    14631462    /* check if R0 code is enabled. */
     1463    bool fR0Enabled;
    14641464    rc = CFGMR3QueryBoolDef(pCfgHandle, "R0Enabled", &fR0Enabled, true);
    14651465    if (VBOX_FAILURE(rc))
     
    15361536     * Register I/O ports and save state.
    15371537     */
    1538     rc = PDMDevHlpIOPortRegister(pDevIns, 0xcf8, 1, NULL, pciIOPortAddressWrite, pciIOPortAddressRead, NULL, NULL, "i440FX (PCI)");
     1538    rc = PDMDevHlpIOPortRegister(pDevIns, 0x0cf8, 1, NULL, pciIOPortAddressWrite, pciIOPortAddressRead, NULL, NULL, "i440FX (PCI)");
    15391539    if (VBOX_FAILURE(rc))
    15401540        return rc;
    1541     rc = PDMDevHlpIOPortRegister(pDevIns, 0xcfc, 4, NULL, pciIOPortDataWrite, pciIOPortDataRead, NULL, NULL, "i440FX (PCI)");
     1541    rc = PDMDevHlpIOPortRegister(pDevIns, 0x0cfc, 4, NULL, pciIOPortDataWrite, pciIOPortDataRead, NULL, NULL, "i440FX (PCI)");
    15421542    if (VBOX_FAILURE(rc))
    15431543        return rc;
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