Commit 8e5a0667f8ef206773250f9b9dd5a4759369096e
1 parent
19b84f3c
added KDGKBTYPE
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@132 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
5 additions
and
0 deletions
linux-user/ioctls.h
... | ... | @@ -51,6 +51,8 @@ |
51 | 51 | IOCTL(TIOCMIWAIT, 0, TYPE_INT) |
52 | 52 | IOCTL(TIOCGICOUNT, IOC_R, MK_PTR(MK_STRUCT(STRUCT_serial_icounter_struct))) |
53 | 53 | |
54 | + IOCTL(KDGKBTYPE, IOC_W, MK_PTR(TYPE_CHAR)) | |
55 | + | |
54 | 56 | IOCTL(BLKROSET, IOC_W, MK_PTR(TYPE_INT)) |
55 | 57 | IOCTL(BLKROGET, IOC_R, MK_PTR(TYPE_INT)) |
56 | 58 | IOCTL(BLKRRPART, 0, TYPE_NULL) | ... | ... |
linux-user/syscall_defs.h
... | ... | @@ -212,6 +212,9 @@ struct target_pollfd { |
212 | 212 | short revents; /* returned events */ |
213 | 213 | }; |
214 | 214 | |
215 | +/* virtual terminal ioctls */ | |
216 | +#define TARGET_KDGKBTYPE 0x4b33 | |
217 | + | |
215 | 218 | /* Networking ioctls */ |
216 | 219 | #define TARGET_SIOCADDRT 0x890B /* add routing table entry */ |
217 | 220 | #define TARGET_SIOCDELRT 0x890C /* delete routing table entry */ | ... | ... |