summaryrefslogtreecommitdiffstats
path: root/linux-user/errno_defs.h
diff options
context:
space:
mode:
authorRichard Henderson2016-12-05 22:08:12 +0100
committerRichard Henderson2017-01-23 03:14:10 +0100
commitfe8ed7d5794f6cecc69bb31ab1291e2356d31bcd (patch)
tree25721767d3d1c8ea0e5c782075ae2f0f2da6b2bd /linux-user/errno_defs.h
parentlinux-user: Add SIOCGPGRP, SIOCGSTAMP, SIOCGSTAMPNS (diff)
downloadqemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.gz
qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.xz
qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.zip
linux-user: Handle ERFKILL and EHWPOISON
With definitions for generic, alpha and mips taken from 4.9-rc2. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/errno_defs.h')
-rw-r--r--linux-user/errno_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/errno_defs.h b/linux-user/errno_defs.h
index 65522c4516..55fbebda51 100644
--- a/linux-user/errno_defs.h
+++ b/linux-user/errno_defs.h
@@ -140,6 +140,9 @@
#define TARGET_EOWNERDEAD 130 /* Owner died */
#define TARGET_ENOTRECOVERABLE 131 /* State not recoverable */
+#define TARGET_ERFKILL 132 /* Operation not possible due to RF-kill */
+#define TARGET_EHWPOISON 133 /* Memory page has hardware error */
+
/* QEMU internal, not visible to the guest. This is returned when a
* system call should be restarted, to tell the main loop that it
* should wind the guest PC backwards so it will re-execute the syscall