diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/qemu.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h index d0a96e6e1f..a68e8f4b42 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -6,8 +6,15 @@ #include <signal.h> #include "syscall_defs.h" -#include "cpu-" TARGET_ARCH ".h" -#include "syscall-" TARGET_ARCH ".h" +#if defined(TARGET_I386) +#include "cpu-i386.h" +#include "syscall-i386.h" +#elif defined(TARGET_ARM) +#include "cpu-arm.h" +#include "syscall-arm.h" +#else +#error unsupported target CPU +#endif /* This struct is used to hold certain information about the image. * Basically, it replicates in user space what would be certain |