VirtualBox

Changeset 20124 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
May 28, 2009 3:40:06 PM (16 years ago)
Author:
vboxsync
Message:

IPRT,SUP: Minor driver version change - added RTThreadPreemptIsPendingTrusty (for Windows and Darwin were we're doing really ugly stuff).

Location:
trunk/src/VBox/HostDrivers/Support
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r19932 r20124  
    261261#endif
    262262/* RTThreadPreemptIsEnabled - not necessary */
    263 /* RTThreadPreemptIsPending  - not necessary */
     263/* RTThreadPreemptIsPending - not necessary */
     264/* RTThreadPreemptIsPendingTrusty - not necessary */
    264265/* RTThreadPreemptDisable - not necessary */
    265266DECLASM(void)   UNWIND_WRAP(RTThreadPreemptRestore)(RTTHREADPREEMPTSTATE pState);
     
    421422    { "RTThreadPreemptIsEnabled",               (void *)RTThreadPreemptIsEnabled },
    422423    { "RTThreadPreemptIsPending",               (void *)RTThreadPreemptIsPending },
     424    { "RTThreadPreemptIsPendingTrusty",         (void *)RTThreadPreemptIsPendingTrusty },
    423425    { "RTThreadPreemptDisable",                 (void *)RTThreadPreemptDisable },
    424426    { "RTThreadPreemptRestore",                 (void *)UNWIND_WRAP(RTThreadPreemptRestore) },
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h

    r19932 r20124  
    188188 *            and renaming the related IOCtls too.
    189189 */
    190 #define SUPDRV_IOC_VERSION                              0x000c0003
     190#define SUPDRV_IOC_VERSION                              0x000c0004
    191191
    192192/** SUP_IOCTL_COOKIE. */
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r19892 r20124  
    260260        strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC);
    261261        CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION;
    262         const uint32_t MinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x000b0001
    263                                   ? 0x000b0001
     262        const uint32_t MinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) >= 0x000c0004
     263                                  ? 0x000c0004
    264264                                  :  SUPDRV_IOC_VERSION & 0xffff0000;
    265265        CookieReq.u.In.u32MinVersion = MinVersion;
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrvA-win.asm

    r19932 r20124  
    155155;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptIsEnabled - not necessary
    156156;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptIsPending - not necessary
     157;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptIsPendingTrusty - not necessary
    157158;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptDisable - not necessary
    158159NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptRestore
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