VirtualBox
Show
Ignore:
Timestamp:
11/01/07 17:09:26 (1 year ago)
Author:
vboxsync
Message:

BIT => RT_BIT, BIT64 => RT_BIT_64. BIT() is defined in Linux 2.6.24

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/VBoxDev.h

    r4071 r5605  
    2525 * @{ */ 
    2626/** the guest requests absolute mouse coordinates (guest additions installed) */ 
    27 #define VMMDEV_MOUSEGUESTWANTSABS                           BIT(0) 
     27#define VMMDEV_MOUSEGUESTWANTSABS                           RT_BIT(0) 
    2828/** the host wants to send absolute mouse coordinates (input not captured) */ 
    29 #define VMMDEV_MOUSEHOSTWANTSABS                            BIT(1) 
     29#define VMMDEV_MOUSEHOSTWANTSABS                            RT_BIT(1) 
    3030/** the guest needs a hardware cursor on host. When guest additions are installed 
    3131 *  and the host has promised to display the cursor itself, the guest installs a 
    3232 *  hardware mouse driver. Don't ask the guest to switch to a software cursor then. */ 
    33 #define VMMDEV_MOUSEGUESTNEEDSHOSTCUR                       BIT(2) 
     33#define VMMDEV_MOUSEGUESTNEEDSHOSTCUR                       RT_BIT(2) 
    3434/** the host is NOT able to draw the cursor itself (e.g. L4 console) */ 
    35 #define VMMDEV_MOUSEHOSTCANNOTHWPOINTER                     BIT(3) 
     35#define VMMDEV_MOUSEHOSTCANNOTHWPOINTER                     RT_BIT(3) 
    3636/** @} */ 
    3737 
     
    3939 * @{ */ 
    4040/** the guest should perform a logon with the credentials */ 
    41 #define VMMDEV_SETCREDENTIALS_GUESTLOGON                    BIT(0) 
     41#define VMMDEV_SETCREDENTIALS_GUESTLOGON                    RT_BIT(0) 
    4242/** the guest should prevent local logons */ 
    43 #define VMMDEV_SETCREDENTIALS_NOLOCALLOGON                  BIT(1) 
     43#define VMMDEV_SETCREDENTIALS_NOLOCALLOGON                  RT_BIT(1) 
    4444/** the guest should verify the credentials */ 
    45 #define VMMDEV_SETCREDENTIALS_JUDGE                         BIT(15) 
     45#define VMMDEV_SETCREDENTIALS_JUDGE                         RT_BIT(15) 
    4646/** @} */ 
    4747 
     
    4949 * @{ */ 
    5050/** the guest supports seamless display rendering */ 
    51 #define VMMDEV_GUEST_SUPPORTS_SEAMLESS                      BIT(0) 
     51#define VMMDEV_GUEST_SUPPORTS_SEAMLESS                      RT_BIT(0) 
    5252/** the guest supports mapping guest to host windows */ 
    53 #define VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING     BIT(1) 
     53#define VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING     RT_BIT(1) 
    5454/** @} */ 
    5555 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy