提交 8e5a0667 编写于 作者: B bellard

added KDGKBTYPE


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@132 c046a42c-6fe2-441c-8c8c-71466251a162
上级 19b84f3c
......@@ -51,6 +51,8 @@
IOCTL(TIOCMIWAIT, 0, TYPE_INT)
IOCTL(TIOCGICOUNT, IOC_R, MK_PTR(MK_STRUCT(STRUCT_serial_icounter_struct)))
IOCTL(KDGKBTYPE, IOC_W, MK_PTR(TYPE_CHAR))
IOCTL(BLKROSET, IOC_W, MK_PTR(TYPE_INT))
IOCTL(BLKROGET, IOC_R, MK_PTR(TYPE_INT))
IOCTL(BLKRRPART, 0, TYPE_NULL)
......
......@@ -212,6 +212,9 @@ struct target_pollfd {
short revents; /* returned events */
};
/* virtual terminal ioctls */
#define TARGET_KDGKBTYPE 0x4b33
/* Networking ioctls */
#define TARGET_SIOCADDRT 0x890B /* add routing table entry */
#define TARGET_SIOCDELRT 0x890C /* delete routing table entry */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册