Add Haiku host support
Status from this message: Thanks, applied 1 to 6.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | configure: Add basic support for Haikuconfigure | +12 | 0 replies | |
| 2/8 | configure: Don't rely on special pthreads libraryconfigure | +11 | 0 replies | |
| 3/8 | Haiku doesn't have libmMakefile.target | +2 | 0 replies | |
| 4/8 | nbd: Haiku has _IO() in its BSD compatibility layernbd.c | +1 | 0 replies | |
| 5/8 | tap: Add stub for HaikuMakefile.objs net/ | +62 | 0 replies | |
| 6/8 | slirp: Silence warning on Haikuslirp/ | +3 | 0 replies | |
| 7/8 | qemu_malloc: Use areas on Haiku for sizes > 1 MiBconfigure qemu-malloc.c | +54 | 2 replies | |
| 8/8 | ui: Haiku frontendMakefile Makefile.objs configure +5 more | +724 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/8] Add Haiku host support
Hello,
The following patch series together with qemu_madvise() allows to build and run QEMU on Haiku, using GCC 4.x.
Patches 1-5 add support for Haiku hosts to build ppc-softmmu. They are based on qemu_madvise() v7, since Haiku does not have madvise(), but they do not depend on it themselves so could be cherry-picked.
Patch 6 fixes a build warning.
The following patches are based on mmlr's 0.10.4 port and are not intended for upstream inclusion at this time:
Patch 7 is needed for successful runtime execution.
Patch 8 is included as a test case and to show where things are moving wrt C++.
Not yet included is his native Haiku audio backend, also using C++.
Another issue that Michael had addressed and that I would like to see fixed differently is a mismatch between softfloat headers and sources wrt int types. I'll post a separate RFC since it's not strictly related to Haiku.
Regards,
Andreas
Andreas Färber (8):
configure: Add basic support for Haiku
configure: Don't rely on special pthreads library Haiku doesn't have libm
nbd: Haiku has _IO() in its BSD compatibility layer
tap: Add stub for Haiku
slirp: Silence warning on Haiku
qemu_malloc: Use areas on Haiku for sizes > 1 MiB
ui: Haiku frontend
Makefile | 2 + Makefile.objs | 2 + Makefile.target | 2 + configure | 33 +++- console.h | 3 + nbd.c | 2 +- net/tap-haiku.c | 61 ++++++ qemu-malloc.c | 53 +++++ rules.mak | 6 +- slirp/slirp.h | 4 +- ui/haiku.cpp | 607 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ ui/haiku.h | 96 +++++++++ vl.c | 10 +- 13 files changed, 869 insertions(+), 12 deletions(-) create mode 100644 net/tap-haiku.c create mode 100644 ui/haiku.cpp create mode 100644 ui/haiku.h