target/mips: Rewrite UHI errno_mips() to allow building on Haiku OS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | target/mips: Fix UHI error valuestarget/ | +9 | 0 replies | |
| 2/4 | target/mips: Rename UHI err -> host_errnotarget/ | +5 | 0 replies | |
| 3/4 | target/mips: Rewrite UHI errno_mips() using GHashTabletarget/ | +45 | 4 replies | |
| 4/4 | target/mips: Complete UHI errno list and log unexpected errorstarget/ | +38 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] target/mips: Rewrite UHI errno_mips() to allow building on Haiku OS
Richard Zak reported a build failure on Haiku OS which is due to using POSIX errno as array indexes:
https://www.mail-archive.com/[email protected]/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(-)
Signature · 1 line
2.31.1