OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [usioctl.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
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
 
21
typedef struct usattach_s {
22
  dev_t us_dev;         /* attach dev */
23
  void  *us_handle;     /* userland semaphore handle */
24
} usattach_t;
25
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.