Message ID | 20210807214242.82385-25-imp@bsdimp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | bsd-user updates to run hello world | expand |
On 8/7/21 11:42 AM, Warner Losh wrote: > From: Warner Losh <imp@FreeBSD.org> > > Include more header files to match bsd-user fork. > > Signed-off-by: Warner Losh <imp@bsdimp.com> > --- > bsd-user/qemu.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h > index 6c4ec61d76..02e6e8327a 100644 > --- a/bsd-user/qemu.h > +++ b/bsd-user/qemu.h > @@ -18,11 +18,15 @@ > #define QEMU_H > > > +#include "qemu/osdep.h" > #include "cpu.h" > #include "exec/cpu_ldst.h" > +#include "exec/exec-all.h" > +//#include "trace/trace-bsd_user.h" > > #undef DEBUG_REMAP > #ifdef DEBUG_REMAP > +#include <stdio.h> > #endif /* DEBUG_REMAP */ osdep.h will have included stdio.h. > +//#include "target_os_vmparam.h" > +//#include "target_os_signal.h" > +//#include "hostdep.h" Delete these? r~
On Mon, Aug 9, 2021 at 2:31 PM Richard Henderson < richard.henderson@linaro.org> wrote: > On 8/7/21 11:42 AM, Warner Losh wrote: > > From: Warner Losh <imp@FreeBSD.org> > > > > Include more header files to match bsd-user fork. > > > > Signed-off-by: Warner Losh <imp@bsdimp.com> > > --- > > bsd-user/qemu.h | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h > > index 6c4ec61d76..02e6e8327a 100644 > > --- a/bsd-user/qemu.h > > +++ b/bsd-user/qemu.h > > @@ -18,11 +18,15 @@ > > #define QEMU_H > > > > > > +#include "qemu/osdep.h" > > #include "cpu.h" > > #include "exec/cpu_ldst.h" > > +#include "exec/exec-all.h" > > +//#include "trace/trace-bsd_user.h" > > > > #undef DEBUG_REMAP > > #ifdef DEBUG_REMAP > > +#include <stdio.h> > > #endif /* DEBUG_REMAP */ > > osdep.h will have included stdio.h. > > > +//#include "target_os_vmparam.h" > > +//#include "target_os_signal.h" > > +//#include "hostdep.h" > > Delete these? > Done. I'll post in v2. Thanks! Warner
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index 6c4ec61d76..02e6e8327a 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -18,11 +18,15 @@ #define QEMU_H +#include "qemu/osdep.h" #include "cpu.h" #include "exec/cpu_ldst.h" +#include "exec/exec-all.h" +//#include "trace/trace-bsd_user.h" #undef DEBUG_REMAP #ifdef DEBUG_REMAP +#include <stdio.h> #endif /* DEBUG_REMAP */ #include "exec/user/abitypes.h" @@ -36,8 +40,13 @@ enum BSDType { }; extern enum BSDType bsd_type; +#include "exec/user/thunk.h" +#include "target_arch.h" #include "syscall_defs.h" #include "target_syscall.h" +//#include "target_os_vmparam.h" +//#include "target_os_signal.h" +//#include "hostdep.h" #include "exec/gdbstub.h" /*