mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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>
This commit is contained in:
parent
405b491504
commit
fe8ed7d579
5 changed files with 21 additions and 0 deletions
|
@ -798,6 +798,12 @@ static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = {
|
|||
#ifdef ENOMSG
|
||||
[ENOMSG] = TARGET_ENOMSG,
|
||||
#endif
|
||||
#ifdef ERKFILL
|
||||
[ERFKILL] = TARGET_ERFKILL,
|
||||
#endif
|
||||
#ifdef EHWPOISON
|
||||
[EHWPOISON] = TARGET_EHWPOISON,
|
||||
#endif
|
||||
};
|
||||
|
||||
static inline int host_to_target_errno(int err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue