VirtualBox

Changeset 45927 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
May 7, 2013 8:05:43 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85565
Message:

*: a few uint32_t warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/spinlock-r0drv-nt.cpp

    r40817 r45927  
    7575    KIRQL volatile      SavedIrql;
    7676    /** The saved interrupt flag. */
    77     uint32_t volatile  fIntSaved;
     77    RTCCUINTREG volatile fIntSaved;
    7878    /** The spinlock creation flags. */
    7979    uint32_t            fFlags;
     
    141141    {
    142142#ifndef RTSPINLOCK_NT_HACK_NOIRQ
    143         uint32_t fIntSaved = ASMGetFlags();
     143        RTCCUINTREG fIntSaved = ASMGetFlags();
    144144        ASMIntDisable();
    145145        KeAcquireSpinLock(&pThis->Spinlock, &SavedIrql);
     
    151151            Assert(SavedIrql < DISPATCH_LEVEL);
    152152        }
    153         uint32_t fIntSaved = ASMGetFlags();
     153        RTCCUINTREG fIntSaved = ASMGetFlags();
    154154        ASMIntDisable();
    155155
     
    177177    if (pThis->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE)
    178178    {
    179         uint32_t fIntSaved = pThis->fIntSaved;
     179        RTCCUINTREG fIntSaved = pThis->fIntSaved;
    180180        pThis->fIntSaved = 0;
    181181
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