added KDGKBTYPE
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 8 May 2003 15:42:10 +0000 (15:42 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 8 May 2003 15:42:10 +0000 (15:42 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@132 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/ioctls.h
linux-user/syscall_defs.h

index b4bfb3a..68f248d 100644 (file)
@@ -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)
index a442683..4dbc663 100644 (file)
@@ -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 */