Changeset 7045 in vbox
- Timestamp:
- Feb 20, 2008 3:30:19 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28279
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r6300 r7045 114 114 /** The next MMIO address which the PCI BIOS will use. */ 115 115 uint32_t pci_bios_mem_addr; 116 uint32_t u32Padding; /**< Alignment padding. */ 117 116 118 /** I/O APIC usage flag */ 117 119 bool fUseIoApic; … … 286 288 #else /* less strict check */ 287 289 AssertMsg(VBOX_SUCCESS(rc) || rc == VERR_IOM_MMIO_RANGE_NOT_FOUND, ("rc=%Vrc d=%s\n", rc, d->name)); NOREF(rc); 288 #endif 290 #endif 289 291 } 290 292 } … … 772 774 { 773 775 case 0x0101: 774 if (vendor_id == 0x8086 && 776 if (vendor_id == 0x8086 && 775 777 (device_id == 0x7010 || device_id == 0x7111)) { 776 778 /* PIIX3 or PIIX4 IDE */ … … 1083 1085 if (pData->devices[i]) 1084 1086 { 1085 LogRel(("New device in slot %#x, %s (vendor=%#06x device=%#06x)\n", i, pData->devices[i]->name, 1087 LogRel(("New device in slot %#x, %s (vendor=%#06x device=%#06x)\n", i, pData->devices[i]->name, 1086 1088 PCIDevGetVendorId(pData->devices[i]), PCIDevGetDeviceId(pData->devices[i]))); 1087 1089 if (SSMR3HandleGetAfter(pSSMHandle) != SSMAFTER_DEBUG_IT) … … 1100 1102 if (!pDev) 1101 1103 { 1102 LogRel(("Device in slot %#x has been removed! vendor=%#06x device=%#06x\n", i, 1104 LogRel(("Device in slot %#x has been removed! vendor=%#06x device=%#06x\n", i, 1103 1105 PCIDevGetVendorId(&DevTmp), PCIDevGetDeviceId(&DevTmp))); 1104 1106 if (SSMR3HandleGetAfter(pSSMHandle) != SSMAFTER_DEBUG_IT) … … 1118 1120 /* commit the loaded device config. */ 1119 1121 memcpy(pDev->config, DevTmp.config, sizeof(pDev->config)); 1120 if (DevTmp.Int.s.iIrq >= PCI_DEVICES_MAX) 1122 if (DevTmp.Int.s.iIrq >= PCI_DEVICES_MAX) 1121 1123 { 1122 1124 LogRel(("Device %s: Too many devices %d (max=%d)\n", pDev->name, DevTmp.Int.s.iIrq, PCI_DEVICES_MAX)); … … 1326 1328 1327 1329 1328 /** 1330 /** 1329 1331 * @copydoc PDMPCIBUSREG::pfnSetConfigCallbacksHC 1330 1332 */ 1331 static DECLCALLBACK(void) pciSetConfigCallbacks(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld, 1333 static DECLCALLBACK(void) pciSetConfigCallbacks(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld, 1332 1334 PFNPCICONFIGWRITE pfnWrite, PPFNPCICONFIGWRITE ppfnWriteOld) 1333 1335 { -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r7026 r7045 244 244 /** end-of-common-state-marker */ 245 245 uint32_t u32Marker; 246 /** Pointer to GC vram mapping. */ 247 GCPTRTYPE(uint8_t *) vram_ptrGC; 246 248 /** The physical address the VRAM was assigned. */ 247 249 RTGCPHYS GCPhysVRAM; 248 /** Pointer to GC vram mapping. */249 GCPTRTYPE(uint8_t *) vram_ptrGC;250 /** @todo r=bird: bool not RTUINT (my fault I guess). */251 250 /** LFB was updated flag. */ 252 RTUINTfLFBUpdated;251 bool fLFBUpdated; 253 252 /** Indicates if the GC extensions are enabled or not. */ 254 RTUINTfGCEnabled;253 bool fGCEnabled; 255 254 /** Indicates if the R0 extensions are enabled or not. */ 256 RTUINT fR0Enabled; 255 bool fR0Enabled; 256 /** Flag indicating that there are dirty bits. This is used to optimize the handler resetting. */ 257 bool fHaveDirtyBits; 257 258 /** Pointer to vgaGCLFBAccessHandler(). */ 258 259 RTGCPTR GCPtrLFBHandler; 259 /** Flag indicating that there are dirty bits. This is used to optimize the handler resetting. */260 bool fHaveDirtyBits;261 260 /** Bitmap tracking dirty pages. */ 262 261 uint32_t au32DirtyBitmap[VGA_VRAM_MAX / PAGE_SIZE / 32];
Note:
See TracChangeset
for help on using the changeset viewer.