VirtualBox

Changeset 3512 in vbox for trunk/src


Ignore:
Timestamp:
Jul 9, 2007 2:59:25 PM (18 years ago)
Author:
vboxsync
Message:

L4 support CTL codes without Linux ioctl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDRVIOC.h

    r3393 r3512  
    7171# define SUP_CTL_CODE_FAST(Function)    ((unsigned char)(Function))
    7272
    73 #elif defined(__LINUX__) || defined(__L4__)
     73#elif defined(__LINUX__)
    7474# ifdef __X86__ /** @todo With the next major version change, drop this branch. */
    7575#  define SUP_CTL_CODE(Function) \
     
    8787#  endif
    8888# endif
     89
     90#elif defined(__L4__)
     91# define SUP_CTL_CODE(Function) \
     92    ( (3U << 30) | ((0x22) << 8) | ((Function) | SUP_IOCTL_FLAG) | (sizeof(SUPDRVIOCTLDATA) << 16) )
     93# define SUP_CTL_CODE_FAST(Function) \
     94    ( (3U << 30) | ((0x22) << 8) | ((Function) | SUP_IOCTL_FLAG) | (0 << 16) )
    8995
    9096#else /* BSD */
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