linux-old/include/asm-mips/usioctl.h
<<
>>
Prefs
   1/*
   2 * usema/usemaclone-related stuff.
   3 *
   4 * `Inspired' by IRIX's sys/usioctl.h
   5 *
   6 * Mike.
   7 */
   8
   9/* ioctls */
  10#define UIOC    ('u' << 16 | 's' << 8)
  11
  12#define UIOCATTACHSEMA  (UIOC|2)        /* attach to sema */
  13#define UIOCBLOCK       (UIOC|3)        /* block sync "intr"? */
  14#define UIOCABLOCK      (UIOC|4)        /* block async */
  15#define UIOCNOIBLOCK    (UIOC|5)        /* IRIX: block sync intr
  16                                           Linux: block sync nointr */
  17#define UIOCUNBLOCK     (UIOC|6)        /* unblock sync */
  18#define UIOCAUNBLOCK    (UIOC|7)        /* unblock async */
  19#define UIOCINIT        (UIOC|8)        /* init sema (async) */
  20
  21typedef struct usattach_s {
  22  dev_t us_dev;         /* attach dev */
  23  void  *us_handle;     /* userland semaphore handle */
  24} usattach_t;
  25
  26
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.