root / linux-user / syscall_types.h @ 50d3eeae
History | View | Annotate | Download (2.4 kB)
1 |
STRUCT_SPECIAL(termios) |
---|---|
2 |
|
3 |
STRUCT(winsize, |
4 |
TYPE_SHORT, TYPE_SHORT, TYPE_SHORT, TYPE_SHORT) |
5 |
|
6 |
STRUCT(serial_multiport_struct, |
7 |
TYPE_INT, TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_CHAR, TYPE_CHAR, |
8 |
TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, |
9 |
MK_ARRAY(TYPE_INT, 32))
|
10 |
|
11 |
STRUCT(serial_icounter_struct, |
12 |
TYPE_INT, TYPE_INT, TYPE_INT, TYPE_INT, MK_ARRAY(TYPE_INT, 16))
|
13 |
|
14 |
STRUCT(sockaddr, |
15 |
TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 14))
|
16 |
|
17 |
STRUCT(rtentry, |
18 |
TYPE_ULONG, MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), |
19 |
TYPE_SHORT, TYPE_SHORT, TYPE_ULONG, TYPE_PTRVOID, TYPE_SHORT, TYPE_PTRVOID, |
20 |
TYPE_ULONG, TYPE_ULONG, TYPE_SHORT) |
21 |
|
22 |
STRUCT(ifmap, |
23 |
TYPE_ULONG, TYPE_ULONG, TYPE_SHORT, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, |
24 |
/* Spare 3 bytes */
|
25 |
TYPE_CHAR, TYPE_CHAR, TYPE_CHAR) |
26 |
|
27 |
/* The *_ifreq_list arrays deal with the fact that struct ifreq has unions */
|
28 |
|
29 |
STRUCT(sockaddr_ifreq, |
30 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), MK_STRUCT(STRUCT_sockaddr)) |
31 |
|
32 |
STRUCT(short_ifreq, |
33 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_SHORT) |
34 |
|
35 |
STRUCT(int_ifreq, |
36 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_INT) |
37 |
|
38 |
STRUCT(ifmap_ifreq, |
39 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), MK_STRUCT(STRUCT_ifmap)) |
40 |
|
41 |
STRUCT(char_ifreq, |
42 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), |
43 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ)) |
44 |
|
45 |
STRUCT(ptr_ifreq, |
46 |
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_PTRVOID) |
47 |
|
48 |
STRUCT(ifconf, |
49 |
TYPE_INT, TYPE_PTRVOID) |
50 |
|
51 |
STRUCT(arpreq, |
52 |
MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_INT, MK_STRUCT(STRUCT_sockaddr), |
53 |
MK_ARRAY(TYPE_CHAR, 16))
|
54 |
|
55 |
STRUCT(arpreq_old, |
56 |
MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_INT, MK_STRUCT(STRUCT_sockaddr)) |
57 |
|
58 |
STRUCT(cdrom_read_audio, |
59 |
TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_PTRVOID, |
60 |
TYPE_NULL) |
61 |
|
62 |
STRUCT(hd_geometry, |
63 |
TYPE_CHAR, TYPE_CHAR, TYPE_SHORT, TYPE_ULONG) |
64 |
|
65 |
STRUCT(dirent, |
66 |
TYPE_LONG, TYPE_LONG, TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 256))
|
67 |
|
68 |
STRUCT(kbentry, |
69 |
TYPE_CHAR, TYPE_CHAR, TYPE_SHORT) |
70 |
|
71 |
STRUCT(kbsentry, |
72 |
TYPE_CHAR, MK_ARRAY(TYPE_CHAR, 512))
|
73 |
|
74 |
STRUCT(audio_buf_info, |
75 |
TYPE_INT, TYPE_INT, TYPE_INT, TYPE_INT) |
76 |
|
77 |
STRUCT(count_info, |
78 |
TYPE_INT, TYPE_INT, TYPE_INT) |
79 |
|
80 |
STRUCT(mixer_info, |
81 |
MK_ARRAY(TYPE_CHAR, 16), MK_ARRAY(TYPE_CHAR, 32), TYPE_INT, MK_ARRAY(TYPE_INT, 10)) |