1 /* $Id$
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * usema/usemaclone-related stuff.
8 *
9 * `Inspired' by IRIX's sys/usioctl.h
10 *
11 * Mike.
12 */
13 #ifndef _ASM_USIOCTL_H
14 #define _ASM_USIOCTL_H
15
16 /* ioctls */
17 #define UIOC ('u' << 16 | 's' << 8)
18
19 #define UIOCATTACHSEMA (UIOC|2) /* attach to sema */
20 #define UIOCBLOCK (UIOC|3) /* block sync "intr"? */
21 #define UIOCABLOCK (UIOC|4) /* block async */
22 #define UIOCNOIBLOCK (UIOC|5) /* IRIX: block sync intr
23 Linux: block sync nointr */
24 #define UIOCUNBLOCK (UIOC|6) /* unblock sync */
25 #define UIOCAUNBLOCK (UIOC|7) /* unblock async */
26 #define UIOCINIT (UIOC|8) /* init sema (async) */
27
28 typedef struct usattach_s {
29 dev_t us_dev; /* attach dev */
30 void *us_handle; /* userland semaphore handle */
31 } usattach_t;
32
33 #endif /* _ASM_USIOCTL_H */
34
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.