VirtualBox

Changeset 7045 in vbox


Ignore:
Timestamp:
Feb 20, 2008 3:30:19 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28279
Message:

Realigning after RTGCPHYS change.

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

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

    r6300 r7045  
    114114    /** The next MMIO address which the PCI BIOS will use. */
    115115    uint32_t            pci_bios_mem_addr;
     116    uint32_t            u32Padding; /**< Alignment padding. */
     117
    116118    /** I/O APIC usage flag */
    117119    bool                fUseIoApic;
     
    286288#else /* less strict check */
    287289                        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
    289291                    }
    290292                }
     
    772774    {
    773775    case 0x0101:
    774         if (vendor_id == 0x8086 && 
     776        if (vendor_id == 0x8086 &&
    775777            (device_id == 0x7010 || device_id == 0x7111)) {
    776778            /* PIIX3 or PIIX4 IDE */
     
    10831085            if (pData->devices[i])
    10841086            {
    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,
    10861088                        PCIDevGetVendorId(pData->devices[i]), PCIDevGetDeviceId(pData->devices[i])));
    10871089                if (SSMR3HandleGetAfter(pSSMHandle) != SSMAFTER_DEBUG_IT)
     
    11001102        if (!pDev)
    11011103        {
    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,
    11031105                    PCIDevGetVendorId(&DevTmp), PCIDevGetDeviceId(&DevTmp)));
    11041106            if (SSMR3HandleGetAfter(pSSMHandle) != SSMAFTER_DEBUG_IT)
     
    11181120        /* commit the loaded device config. */
    11191121        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)
    11211123        {
    11221124            LogRel(("Device %s: Too many devices %d (max=%d)\n", pDev->name, DevTmp.Int.s.iIrq, PCI_DEVICES_MAX));
     
    13261328
    13271329
    1328 /** 
     1330/**
    13291331 * @copydoc PDMPCIBUSREG::pfnSetConfigCallbacksHC
    13301332 */
    1331 static DECLCALLBACK(void) pciSetConfigCallbacks(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld, 
     1333static DECLCALLBACK(void) pciSetConfigCallbacks(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, PPFNPCICONFIGREAD ppfnReadOld,
    13321334                                                PFNPCICONFIGWRITE pfnWrite, PPFNPCICONFIGWRITE ppfnWriteOld)
    13331335{
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r7026 r7045  
    244244    /** end-of-common-state-marker */
    245245    uint32_t                    u32Marker;
     246    /** Pointer to GC vram mapping. */
     247    GCPTRTYPE(uint8_t *)        vram_ptrGC;
    246248    /** The physical address the VRAM was assigned. */
    247249    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). */
    251250    /** LFB was updated flag. */
    252     RTUINT                      fLFBUpdated;
     251    bool                        fLFBUpdated;
    253252    /** Indicates if the GC extensions are enabled or not. */
    254     RTUINT                      fGCEnabled;
     253    bool                        fGCEnabled;
    255254    /** 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;
    257258    /** Pointer to vgaGCLFBAccessHandler(). */
    258259    RTGCPTR                     GCPtrLFBHandler;
    259     /** Flag indicating that there are dirty bits. This is used to optimize the handler resetting. */
    260     bool                        fHaveDirtyBits;
    261260    /** Bitmap tracking dirty pages. */
    262261    uint32_t                    au32DirtyBitmap[VGA_VRAM_MAX / PAGE_SIZE / 32];
Note: See TracChangeset for help on using the changeset viewer.

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