[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] target/mips: Rewrite UHI errno_mips() to allow building on H
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/4] target/mips: Rewrite UHI errno_mips() to allow building on Haiku OS |
Date: |
Sun, 4 Jul 2021 19:07:32 +0200 |
Richard Zak reported a build failure on Haiku OS which is due
to using POSIX errno as array indexes:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg820587.html
Work around by using a GHashTable.
Since we were reviewing the UHI (semihosting) spec, fix the errno
values and complete to support all the specified errnos.
Regards,
Phil.
Philippe Mathieu-Daudé (4):
target/mips: Fix UHI error values
target/mips: Rename UHI err -> host_errno
target/mips: Rewrite UHI errno_mips() using GHashTable
target/mips: Complete UHI errno list and log unexpected errors
target/mips/tcg/sysemu/mips-semi.c | 105 ++++++++++++++++++++++++-----
1 file changed, 88 insertions(+), 17 deletions(-)
--
2.31.1
- [PATCH 0/4] target/mips: Rewrite UHI errno_mips() to allow building on Haiku OS,
Philippe Mathieu-Daudé <=