mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
31e31b8a24
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3 c046a42c-6fe2-441c-8c8c-71466251a162
65 lines
1.9 KiB
C
65 lines
1.9 KiB
C
STRUCT_SPECIAL(termios)
|
|
|
|
STRUCT(winsize,
|
|
TYPE_SHORT, TYPE_SHORT, TYPE_SHORT, TYPE_SHORT)
|
|
|
|
STRUCT(serial_multiport_struct,
|
|
TYPE_INT, TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_CHAR, TYPE_CHAR,
|
|
TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT,
|
|
MK_ARRAY(TYPE_INT, 32))
|
|
|
|
STRUCT(serial_icounter_struct,
|
|
TYPE_INT, TYPE_INT, TYPE_INT, TYPE_INT, MK_ARRAY(TYPE_INT, 16))
|
|
|
|
STRUCT(sockaddr,
|
|
TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 14))
|
|
|
|
STRUCT(rtentry,
|
|
TYPE_ULONG, MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr),
|
|
TYPE_SHORT, TYPE_SHORT, TYPE_ULONG, TYPE_PTRVOID, TYPE_SHORT, TYPE_PTRVOID,
|
|
TYPE_ULONG, TYPE_ULONG, TYPE_SHORT)
|
|
|
|
STRUCT(ifmap,
|
|
TYPE_ULONG, TYPE_ULONG, TYPE_SHORT, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR,
|
|
/* Spare 3 bytes */
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_CHAR)
|
|
|
|
/* The *_ifreq_list arrays deal with the fact that struct ifreq has unions */
|
|
|
|
STRUCT(sockaddr_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), MK_STRUCT(STRUCT_sockaddr))
|
|
|
|
STRUCT(short_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_SHORT)
|
|
|
|
STRUCT(int_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_INT)
|
|
|
|
STRUCT(ifmap_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), MK_STRUCT(STRUCT_ifmap))
|
|
|
|
STRUCT(char_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ),
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ))
|
|
|
|
STRUCT(ptr_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_PTRVOID)
|
|
|
|
STRUCT(ifconf,
|
|
TYPE_INT, TYPE_PTRVOID)
|
|
|
|
STRUCT(arpreq,
|
|
MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_INT, MK_STRUCT(STRUCT_sockaddr),
|
|
MK_ARRAY(TYPE_CHAR, 16))
|
|
|
|
STRUCT(arpreq_old,
|
|
MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_INT, MK_STRUCT(STRUCT_sockaddr))
|
|
|
|
STRUCT(cdrom_read_audio,
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_PTRVOID,
|
|
TYPE_NULL)
|
|
|
|
STRUCT(hd_geometry,
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_SHORT, TYPE_ULONG)
|
|
|