VirtualBox

Changeset 53455 in vbox for trunk/src


Ignore:
Timestamp:
Dec 5, 2014 12:41:15 PM (10 years ago)
Author:
vboxsync
Message:

tstGIP-2: Made the spinning mode not read GIP data in the middle of timer callbacks (when u32TransactionId is odd).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp

    r53430 r53455  
    218218                    if (pu32TransactionId)
    219219                    {
    220                         while (u32TransactionId == *pu32TransactionId)
     220                        uint32_t uTmp;
     221                        while (   u32TransactionId == (uTmp = *pu32TransactionId)
     222                               || (uTmp & 1))
    221223                            ASMNopPause();
    222224                    }
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