VirtualBox

Changeset 25008 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 26, 2009 2:49:44 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55319
Message:

PDM.cpp: SSMR3GetUInt/SSMR3PutUInt -> U32. Fixed shadowed variable warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDM.cpp

    r24748 r25008  
    680680    {
    681681        PVMCPU pVCpu = &pVM->aCpus[idCpu];
    682         SSMR3PutUInt(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_APIC));
    683         SSMR3PutUInt(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_PIC));
    684         SSMR3PutUInt(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_NMI));
    685         SSMR3PutUInt(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_SMI));
    686     }
    687     SSMR3PutUInt(pSSM, VM_FF_ISSET(pVM, VM_FF_PDM_DMA));
     682        SSMR3PutU32(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_APIC));
     683        SSMR3PutU32(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_PIC));
     684        SSMR3PutU32(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_NMI));
     685        SSMR3PutU32(pSSM, VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INTERRUPT_SMI));
     686    }
     687    SSMR3PutU32(pSSM, VM_FF_ISSET(pVM, VM_FF_PDM_DMA));
    688688
    689689    pdmR3SaveBoth(pVM, pSSM);
     
    773773
    774774            /* APIC interrupt */
    775             RTUINT fInterruptPending = 0;
    776             rc = SSMR3GetUInt(pSSM, &fInterruptPending);
     775            uint32_t fInterruptPending = 0;
     776            rc = SSMR3GetU32(pSSM, &fInterruptPending);
    777777            if (RT_FAILURE(rc))
    778778                return rc;
     
    788788            /* PIC interrupt */
    789789            fInterruptPending = 0;
    790             rc = SSMR3GetUInt(pSSM, &fInterruptPending);
     790            rc = SSMR3GetU32(pSSM, &fInterruptPending);
    791791            if (RT_FAILURE(rc))
    792792                return rc;
     
    803803            {
    804804                /* NMI interrupt */
    805                 RTUINT fInterruptPending = 0;
    806                 rc = SSMR3GetUInt(pSSM, &fInterruptPending);
     805                fInterruptPending = 0;
     806                rc = SSMR3GetU32(pSSM, &fInterruptPending);
    807807                if (RT_FAILURE(rc))
    808808                    return rc;
     
    818818                /* SMI interrupt */
    819819                fInterruptPending = 0;
    820                 rc = SSMR3GetUInt(pSSM, &fInterruptPending);
     820                rc = SSMR3GetU32(pSSM, &fInterruptPending);
    821821                if (RT_FAILURE(rc))
    822822                    return rc;
     
    833833
    834834        /* DMA pending */
    835         RTUINT fDMAPending = 0;
    836         rc = SSMR3GetUInt(pSSM, &fDMAPending);
     835        uint32_t fDMAPending = 0;
     836        rc = SSMR3GetU32(pSSM, &fDMAPending);
    837837        if (RT_FAILURE(rc))
    838838            return rc;
     
    857857        /* Get the sequence number / terminator. */
    858858        uint32_t    u32Sep;
    859         int rc = SSMR3GetU32(pSSM, &u32Sep);
     859        rc = SSMR3GetU32(pSSM, &u32Sep);
    860860        if (RT_FAILURE(rc))
    861861            return rc;
     
    870870        if (RT_FAILURE(rc))
    871871            return rc;
    872         RTUINT iInstance;
    873         rc = SSMR3GetUInt(pSSM, &iInstance);
     872        uint32_t iInstance;
     873        rc = SSMR3GetU32(pSSM, &iInstance);
    874874        if (RT_FAILURE(rc))
    875875            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