VirtualBox

Changeset 9494 in vbox


Ignore:
Timestamp:
Jun 6, 2008 4:31:33 PM (17 years ago)
Author:
vboxsync
Message:

fixed + re-enabled USE_NEW_OS_INTERFACE_FOR_GIP code for Linux

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r9492 r9494  
    228228# If this makes testboxes crash/burn/leak disable it and add a comment to defect #2116.
    229229#
    230 KFLAGS += -DUSE_NEW_OS_INTERFACE_FOR_MM
    231 #-DUSE_NEW_OS_INTERFACE_FOR_GIP
     230KFLAGS += -DUSE_NEW_OS_INTERFACE_FOR_MM -DUSE_NEW_OS_INTERFACE_FOR_GIP
    232231OBJS += r0drv/memobj-r0drv.o \
    233232        r0drv/linux/memobj-r0drv-linux.o
  • trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r9466 r9494  
    188188/**
    189189 * Sets the state if it has a certain value.
     190 *
     191 * @return true if xchg was done.
     192 * @return false if xchg wasn't done.
    190193 */
    191194DECLINLINE(bool) rtTimerLnxCmpXchgState(RTTIMERLNXSTATE volatile *penmState, RTTIMERLNXSTATE enmNewState, RTTIMERLNXSTATE enmCurState)
     
    539542                break;
    540543            Assert(enmState == RTTIMERLNXSTATE_ACTIVE);
    541         } while (rtTimerLnxCmpXchgState(&pTimer->aSubTimers[iCpu].enmState, RTTIMERLNXSTATE_STOPPING, enmState));
     544        } while (!rtTimerLnxCmpXchgState(&pTimer->aSubTimers[iCpu].enmState, RTTIMERLNXSTATE_STOPPING, enmState));
    542545    }
    543546
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