VirtualBox

Changeset 22150 in vbox for trunk/include


Ignore:
Timestamp:
Aug 11, 2009 9:41:58 AM (15 years ago)
Author:
vboxsync
Message:

IPRT,SUPDrv: Changed RTTHREADPREEMPTSTATE breaking binary compatibility - increased the major SUPDrv version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/thread.h

    r21536 r22150  
    472472typedef struct RTTHREADPREEMPTSTATE
    473473{
     474    /** In debug builds this will be used to check for cpu migration. */
     475    RTCPUID         idCpu;
    474476#ifdef RT_OS_WINDOWS
    475477    /** The old IRQL. Don't touch. */
    476     unsigned char uchOldIrql;
    477 # define RTTHREADPREEMPTSTATE_INITIALIZER { 255 }
     478    unsigned char   uchOldIrql;
     479    /** Reserved, MBZ. */
     480    uint8_t         bReserved1;
     481    /** Reserved, MBZ. */
     482    uint8_t         bReserved2;
     483    /** Reserved, MBZ. */
     484    uint8_t         bReserved3;
     485# define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, 255, 0, 0, 0 }
    478486#else
    479     /** Dummy unused placeholder. */
    480     unsigned char uchDummy;
    481 # define RTTHREADPREEMPTSTATE_INITIALIZER { 0 }
     487    /** Reserved, MBZ. */
     488    uint32_t        u32Reserved;
     489# define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, 0 }
    482490#endif
    483491} RTTHREADPREEMPTSTATE;
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