Changeset 11231 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Aug 8, 2008 2:26:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r11224 r11231 1438 1438 PDMPCIBUSREG PciBusReg; 1439 1439 int rc; 1440 bool fGCEnabled;1441 bool fR0Enabled;1442 bool fUseIoApic;1443 1440 Assert(iInstance == 0); 1444 1441 … … 1450 1447 1451 1448 /* query whether we got an IOAPIC */ 1449 bool fUseIoApic; 1452 1450 rc = CFGMR3QueryBoolDef(pCfgHandle, "IOAPIC", &fUseIoApic, false); 1453 1451 if (VBOX_FAILURE(rc)) … … 1456 1454 1457 1455 /* check if RC code is enabled. */ 1456 bool fGCEnabled; 1458 1457 rc = CFGMR3QueryBoolDef(pCfgHandle, "GCEnabled", &fGCEnabled, true); 1459 1458 if (VBOX_FAILURE(rc)) … … 1462 1461 1463 1462 /* check if R0 code is enabled. */ 1463 bool fR0Enabled; 1464 1464 rc = CFGMR3QueryBoolDef(pCfgHandle, "R0Enabled", &fR0Enabled, true); 1465 1465 if (VBOX_FAILURE(rc)) … … 1536 1536 * Register I/O ports and save state. 1537 1537 */ 1538 rc = PDMDevHlpIOPortRegister(pDevIns, 0x cf8, 1, NULL, pciIOPortAddressWrite, pciIOPortAddressRead, NULL, NULL, "i440FX (PCI)");1538 rc = PDMDevHlpIOPortRegister(pDevIns, 0x0cf8, 1, NULL, pciIOPortAddressWrite, pciIOPortAddressRead, NULL, NULL, "i440FX (PCI)"); 1539 1539 if (VBOX_FAILURE(rc)) 1540 1540 return rc; 1541 rc = PDMDevHlpIOPortRegister(pDevIns, 0x cfc, 4, NULL, pciIOPortDataWrite, pciIOPortDataRead, NULL, NULL, "i440FX (PCI)");1541 rc = PDMDevHlpIOPortRegister(pDevIns, 0x0cfc, 4, NULL, pciIOPortDataWrite, pciIOPortDataRead, NULL, NULL, "i440FX (PCI)"); 1542 1542 if (VBOX_FAILURE(rc)) 1543 1543 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.