diff options
| author | bellard | 2003-05-08 17:42:10 +0200 |
|---|---|---|
| committer | bellard | 2003-05-08 17:42:10 +0200 |
| commit | 8e5a0667f8ef206773250f9b9dd5a4759369096e (patch) | |
| tree | 0fc78507c18ece85d14be481c448cc9991065d79 /linux-user | |
| parent | added setgroups and getgroups syscalls (diff) | |
| download | qemu-8e5a0667f8ef206773250f9b9dd5a4759369096e.tar.gz qemu-8e5a0667f8ef206773250f9b9dd5a4759369096e.tar.xz qemu-8e5a0667f8ef206773250f9b9dd5a4759369096e.zip | |
added KDGKBTYPE
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@132 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/ioctls.h | 2 | ||||
| -rw-r--r-- | linux-user/syscall_defs.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index b4bfb3ab6e..68f248d63f 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -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) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index a442683b6d..4dbc66333d 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -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 */ |
