From 17f01469ad4ccd9df628664116d465ac6251bd87 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 21 Jan 2017 18:12:00 +0800 Subject: [PATCH 1/7] msvc_native: add .gitignore --- bindings/msvc_native/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 bindings/msvc_native/.gitignore diff --git a/bindings/msvc_native/.gitignore b/bindings/msvc_native/.gitignore new file mode 100644 index 00000000..cc236330 --- /dev/null +++ b/bindings/msvc_native/.gitignore @@ -0,0 +1,2 @@ +msvc_native.VC.VC.opendb +msvc_native.VC.db From 9fac29d154266934f56395eef5cbf19d3065bb78 Mon Sep 17 00:00:00 2001 From: xorstream Date: Sat, 21 Jan 2017 23:21:27 +1100 Subject: [PATCH 2/7] Changed some MSVC compatibility defines based on MSVC version. (#724) --- include/unicorn/platform.h | 4 +++- qemu/include/qemu/compiler.h | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/unicorn/platform.h b/include/unicorn/platform.h index 6f36c4fb..ffdc5646 100644 --- a/include/unicorn/platform.h +++ b/include/unicorn/platform.h @@ -199,8 +199,10 @@ static void usleep(const int64_t &t) // misc support #if defined(_MSC_VER) #define va_copy(d,s) ((d) = (s)) -#define snprintf _snprintf #define strcasecmp _stricmp +#if (_MSC_VER < MSC_VER_VS2015) +#define snprintf _snprintf +#endif #if (_MSC_VER <= MSC_VER_VS2013) #define strtoll _strtoi64 #endif diff --git a/qemu/include/qemu/compiler.h b/qemu/include/qemu/compiler.h index acfb2d33..e74e7119 100644 --- a/qemu/include/qemu/compiler.h +++ b/qemu/include/qemu/compiler.h @@ -4,6 +4,7 @@ #define COMPILER_H #include "config-host.h" +#include "unicorn/platform.h" #ifdef _MSC_VER // MSVC support @@ -13,7 +14,10 @@ #include #include + +#if _MSC_VER < MSC_VER_VS2013 #define isinf(x) (!_finite(x)) +#endif static double rint( double x ) { From f9f184e719883ac02897229da99e7b3272c07afc Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 21 Jan 2017 22:22:09 +0800 Subject: [PATCH 3/7] test: fix missng pthread functions --- tests/regress/Makefile | 4 ++-- tests/unit/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/regress/Makefile b/tests/regress/Makefile index c7da4ec4..67c779df 100644 --- a/tests/regress/Makefile +++ b/tests/regress/Makefile @@ -1,9 +1,9 @@ CFLAGS += -Wall -Werror -I../../include -LDLIBS += -L../../ -lpthread -lm -lunicorn +LDLIBS += -L../../ -lm -lunicorn UNAME_S := $(shell uname -s) ifeq ($(UNAME_S), Linux) -LDLIBS += -lrt +LDLIBS += -lrt -pthread endif EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../ diff --git a/tests/unit/Makefile b/tests/unit/Makefile index 57b8c038..dba6b210 100644 --- a/tests/unit/Makefile +++ b/tests/unit/Makefile @@ -1,13 +1,13 @@ CFLAGS += -Wall -Werror -Wno-unused-function -g CFLAGS += -L ../../ -I ../../include CFLAGS += -L ../../cmocka/src -I ../../cmocka/include -LDLIBS += -lcmocka -lunicorn UNAME_S := $(shell uname -s) ifeq ($(UNAME_S), Linux) -LDLIBS += -lrt +LDLIBS += -lrt -pthread endif +LDLIBS += -lcmocka -lunicorn EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../ From 2ae2134402afd7140dba61c04572db62417578f2 Mon Sep 17 00:00:00 2001 From: xorstream Date: Sun, 22 Jan 2017 02:22:51 +1100 Subject: [PATCH 4/7] Added prebuild script to remove generated files and started adding projects for other CPUs. (#725) * Changed some MSVC compatibility defines based on MSVC version. * Added prebuild_script.bat to remove leftover configure generated files before building. Also added project files and MSVC copies of configure generated files for all supported CPUs. --- .gitignore | 25 +- .../aarch64-softmmu/aarch64-softmmu.vcxproj | 178 ++++++++++++++ .../aarch64-softmmu.vcxproj.filters | 2 + .../aarch64-softmmu/config-target.h | 5 + .../arm-softmmu/arm-softmmu.vcxproj | 178 ++++++++++++++ .../arm-softmmu/arm-softmmu.vcxproj.filters | 2 + .../msvc_native/arm-softmmu/config-target.h | 5 + .../msvc_native/m68k-softmmu/config-target.h | 6 + .../m68k-softmmu/m68k-softmmu.vcxproj | 178 ++++++++++++++ .../m68k-softmmu/m68k-softmmu.vcxproj.filters | 2 + .../msvc_native/mips-softmmu/config-target.h | 7 + .../mips-softmmu/mips-softmmu.vcxproj | 178 ++++++++++++++ .../mips-softmmu/mips-softmmu.vcxproj.filters | 2 + .../mips64-softmmu/config-target.h | 7 + .../mips64-softmmu/mips64-softmmu.vcxproj | 178 ++++++++++++++ .../mips64-softmmu.vcxproj.filters | 2 + .../mips64el-softmmu/config-target.h | 6 + .../mips64el-softmmu/mips64el-softmmu.vcxproj | 178 ++++++++++++++ .../mips64el-softmmu.vcxproj.filters | 2 + .../mipsel-softmmu/config-target.h | 6 + .../mipsel-softmmu/mipsel-softmmu.vcxproj | 178 ++++++++++++++ .../mipsel-softmmu.vcxproj.filters | 2 + bindings/msvc_native/msvc_native.sln | 153 ++++++++++-- bindings/msvc_native/prebuild_script.bat | 19 ++ .../msvc_native/sample_x86/sample_x86.vcxproj | 12 + .../msvc_native/sparc-softmmu/config-target.h | 6 + .../sparc-softmmu/sparc-softmmu.vcxproj | 178 ++++++++++++++ .../sparc-softmmu.vcxproj.filters | 2 + .../sparc64-softmmu/config-target.h | 6 + .../sparc64-softmmu/sparc64-softmmu.vcxproj | 178 ++++++++++++++ .../sparc64-softmmu.vcxproj.filters | 2 + .../x86_64-softmmu/config-target.h | 5 + .../x86_64-softmmu/x86_64-softmmu.vcxproj | 228 ++++++++++++++++++ .../x86_64-softmmu.vcxproj.filters | 135 +++++++++++ 34 files changed, 2224 insertions(+), 27 deletions(-) create mode 100644 bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj create mode 100644 bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/aarch64-softmmu/config-target.h create mode 100644 bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj create mode 100644 bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/arm-softmmu/config-target.h create mode 100644 bindings/msvc_native/m68k-softmmu/config-target.h create mode 100644 bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj create mode 100644 bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/mips-softmmu/config-target.h create mode 100644 bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj create mode 100644 bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/mips64-softmmu/config-target.h create mode 100644 bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj create mode 100644 bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/mips64el-softmmu/config-target.h create mode 100644 bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj create mode 100644 bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/mipsel-softmmu/config-target.h create mode 100644 bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj create mode 100644 bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/prebuild_script.bat create mode 100644 bindings/msvc_native/sparc-softmmu/config-target.h create mode 100644 bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj create mode 100644 bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/sparc64-softmmu/config-target.h create mode 100644 bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj create mode 100644 bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj.filters create mode 100644 bindings/msvc_native/x86_64-softmmu/config-target.h create mode 100644 bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj create mode 100644 bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj.filters diff --git a/.gitignore b/.gitignore index 324b26f0..ed3f6e73 100644 --- a/.gitignore +++ b/.gitignore @@ -13,20 +13,21 @@ qemu/config-all-devices.mak -i386-softmmu/ -arm-softmmu/ -aarch64-softmmu/ -mips-softmmu/ -mips64-softmmu/ -mipsel-softmmu/ -mips64el-softmmu/ -sparc-softmmu/ -sparc64-softmmu/ -m68k-softmmu/ +qemu/aarch64-softmmu/ +qemu/arm-softmmu/ +qemu/m68k-softmmu/ +qemu/mips64el-softmmu/ +qemu/mips64-softmmu/ +qemu/mipsel-softmmu/ +qemu/mips-softmmu/ +qemu/sparc64-softmmu/ +qemu/sparc-softmmu/ +qemu/x86_64-softmmu/ qemu/qapi-types.h qemu/qapi-visit.h -x86_64-softmmu/ +qemu/qapi-types.c +qemu/qapi-visit.c tags qemu/config-host.ld qemu/config.log @@ -34,8 +35,6 @@ qemu/config.status qemu/config-host.h qemu/config-host.h-timestamp qemu/config-host.mak -qemu/qapi-types.c -qemu/qapi-visit.c libunicorn*.dll libunicorn*.so diff --git a/bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj b/bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj new file mode 100644 index 00000000..bb77e79a --- /dev/null +++ b/bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773} + Win32Proj + aarch64softmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + aarch64.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + aarch64.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + aarch64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + aarch64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj.filters b/bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/aarch64-softmmu/aarch64-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/aarch64-softmmu/config-target.h b/bindings/msvc_native/aarch64-softmmu/config-target.h new file mode 100644 index 00000000..6c82c702 --- /dev/null +++ b/bindings/msvc_native/aarch64-softmmu/config-target.h @@ -0,0 +1,5 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_AARCH64 1 +#define TARGET_NAME "aarch64" +#define TARGET_ARM 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj b/bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj new file mode 100644 index 00000000..789572dc --- /dev/null +++ b/bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036} + Win32Proj + armsoftmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + arm.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + arm.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + arm.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-arm;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + arm.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj.filters b/bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/arm-softmmu/arm-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/arm-softmmu/config-target.h b/bindings/msvc_native/arm-softmmu/config-target.h new file mode 100644 index 00000000..84577a49 --- /dev/null +++ b/bindings/msvc_native/arm-softmmu/config-target.h @@ -0,0 +1,5 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_ARM 1 +#define TARGET_NAME "arm" +#define TARGET_ARM 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/m68k-softmmu/config-target.h b/bindings/msvc_native/m68k-softmmu/config-target.h new file mode 100644 index 00000000..d0284a31 --- /dev/null +++ b/bindings/msvc_native/m68k-softmmu/config-target.h @@ -0,0 +1,6 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_M68K 1 +#define TARGET_NAME "m68k" +#define TARGET_M68K 1 +#define TARGET_WORDS_BIGENDIAN 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj b/bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj new file mode 100644 index 00000000..a791ab27 --- /dev/null +++ b/bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {2C5AD347-6E34-463B-8289-00578E43B255} + Win32Proj + m68ksoftmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-m68k;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + m68k.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-m68k;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + m68k.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-m68k;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + m68k.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-m68k;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + m68k.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj.filters b/bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/m68k-softmmu/m68k-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/mips-softmmu/config-target.h b/bindings/msvc_native/mips-softmmu/config-target.h new file mode 100644 index 00000000..85a5f1bf --- /dev/null +++ b/bindings/msvc_native/mips-softmmu/config-target.h @@ -0,0 +1,7 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_ABI_MIPSO32 1 +#define TARGET_MIPS 1 +#define TARGET_NAME "mips" +#define TARGET_MIPS 1 +#define TARGET_WORDS_BIGENDIAN 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj b/bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj new file mode 100644 index 00000000..28462280 --- /dev/null +++ b/bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {63050112-E486-4396-B5E4-303C3BC12D39} + Win32Proj + mipssoftmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mips.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mips.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mips.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mips.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj.filters b/bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/mips-softmmu/mips-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/mips64-softmmu/config-target.h b/bindings/msvc_native/mips64-softmmu/config-target.h new file mode 100644 index 00000000..ca9e642a --- /dev/null +++ b/bindings/msvc_native/mips64-softmmu/config-target.h @@ -0,0 +1,7 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_ABI_MIPSN64 1 +#define TARGET_MIPS64 1 +#define TARGET_NAME "mips64" +#define TARGET_MIPS 1 +#define TARGET_WORDS_BIGENDIAN 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj b/bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj new file mode 100644 index 00000000..1da93282 --- /dev/null +++ b/bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {4A9F9353-DB63-460A-BB1C-9CB519DFD414} + Win32Proj + mips64softmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mips64.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mips64.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mips64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mips64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj.filters b/bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/mips64-softmmu/mips64-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/mips64el-softmmu/config-target.h b/bindings/msvc_native/mips64el-softmmu/config-target.h new file mode 100644 index 00000000..95c83513 --- /dev/null +++ b/bindings/msvc_native/mips64el-softmmu/config-target.h @@ -0,0 +1,6 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_ABI_MIPSN64 1 +#define TARGET_MIPS64 1 +#define TARGET_NAME "mips64el" +#define TARGET_MIPS 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj b/bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj new file mode 100644 index 00000000..ef6b62c7 --- /dev/null +++ b/bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {4478909E-6983-425C-9D9F-558CF258E61E} + Win32Proj + mips64elsoftmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mips64el.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mips64el.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mips64el.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mips64el.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj.filters b/bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/mips64el-softmmu/mips64el-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/mipsel-softmmu/config-target.h b/bindings/msvc_native/mipsel-softmmu/config-target.h new file mode 100644 index 00000000..68b52389 --- /dev/null +++ b/bindings/msvc_native/mipsel-softmmu/config-target.h @@ -0,0 +1,6 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_ABI_MIPSO32 1 +#define TARGET_MIPS 1 +#define TARGET_NAME "mipsel" +#define TARGET_MIPS 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj b/bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj new file mode 100644 index 00000000..70a00857 --- /dev/null +++ b/bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {006A7908-ABF3-4D18-BC35-0A29E39B95F9} + Win32Proj + mipselsoftmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mipsel.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + mipsel.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mipsel.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-mips;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + mipsel.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj.filters b/bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/mipsel-softmmu/mipsel-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/msvc_native.sln b/bindings/msvc_native/msvc_native.sln index b8d3053c..963d8093 100644 --- a/bindings/msvc_native/msvc_native.sln +++ b/bindings/msvc_native/msvc_native.sln @@ -14,6 +14,28 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample_x86", "sample_x86\sa {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96} = {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aarch64-softmmu", "aarch64-softmmu\aarch64-softmmu.vcxproj", "{2A7F483F-CD19-4F84-BBDA-B6A1865E2773}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "arm-softmmu", "arm-softmmu\arm-softmmu.vcxproj", "{F67EB1EA-DCFA-4758-A2AA-4B570BA78036}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "m68k-softmmu", "m68k-softmmu\m68k-softmmu.vcxproj", "{2C5AD347-6E34-463B-8289-00578E43B255}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mips-softmmu", "mips-softmmu\mips-softmmu.vcxproj", "{63050112-E486-4396-B5E4-303C3BC12D39}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mips64-softmmu", "mips64-softmmu\mips64-softmmu.vcxproj", "{4A9F9353-DB63-460A-BB1C-9CB519DFD414}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mips64el-softmmu", "mips64el-softmmu\mips64el-softmmu.vcxproj", "{4478909E-6983-425C-9D9F-558CF258E61E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mipsel-softmmu", "mipsel-softmmu\mipsel-softmmu.vcxproj", "{006A7908-ABF3-4D18-BC35-0A29E39B95F9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sparc-softmmu", "sparc-softmmu\sparc-softmmu.vcxproj", "{698C2D54-475C-446F-B879-F629BBEF75FE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sparc64-softmmu", "sparc64-softmmu\sparc64-softmmu.vcxproj", "{8804AD29-E398-480C-AC0F-98EC1B7A51CB}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "softmmu", "softmmu", "{857A09AF-FE20-461C-B66F-D779422AD46B}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{F8E85E25-4D67-4A6B-A976-C920790B8798}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Mixed Platforms = Debug|Mixed Platforms @@ -26,22 +48,22 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|Win32.ActiveCfg = Debug|Win32 - {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|Win32.Build.0 = Debug|Win32 - {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|x64.ActiveCfg = Debug|x64 - {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|x64.Build.0 = Debug|x64 + {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|Win32.ActiveCfg = Debug|x64 + {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|Win32.Build.0 = Debug|x64 + {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|x64.ActiveCfg = Debug|Win32 + {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Debug|x64.Build.0 = Debug|Win32 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Release|Mixed Platforms.ActiveCfg = Release|Win32 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Release|Mixed Platforms.Build.0 = Release|Win32 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Release|Win32.ActiveCfg = Release|Win32 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Release|Win32.Build.0 = Release|Win32 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Release|x64.ActiveCfg = Release|x64 {17077E86-AE7C-41AF-86ED-2BAC03B019BC}.Release|x64.Build.0 = Release|x64 - {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Mixed Platforms.ActiveCfg = Debug|x64 - {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Mixed Platforms.Build.0 = Debug|x64 - {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Win32.ActiveCfg = Debug|Win32 - {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Win32.Build.0 = Debug|Win32 - {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|x64.ActiveCfg = Debug|x64 - {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|x64.Build.0 = Debug|x64 + {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Win32.ActiveCfg = Debug|x64 + {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|Win32.Build.0 = Debug|x64 + {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|x64.ActiveCfg = Debug|Win32 + {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Debug|x64.Build.0 = Debug|Win32 {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Release|Mixed Platforms.ActiveCfg = Release|Win32 {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Release|Mixed Platforms.Build.0 = Release|Win32 {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Release|Win32.ActiveCfg = Release|Win32 @@ -49,17 +71,120 @@ Global {B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}.Release|x64.ActiveCfg = Release|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|Win32.ActiveCfg = Debug|Win32 - {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|Win32.Build.0 = Debug|Win32 - {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|x64.ActiveCfg = Debug|x64 - {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|x64.Build.0 = Debug|x64 + {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|Win32.ActiveCfg = Debug|x64 + {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|Win32.Build.0 = Debug|x64 + {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|x64.ActiveCfg = Debug|Win32 + {F8053D66-8267-433A-BF2C-E07E2298C338}.Debug|x64.Build.0 = Debug|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Release|Mixed Platforms.ActiveCfg = Release|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Release|Mixed Platforms.Build.0 = Release|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Release|Win32.ActiveCfg = Release|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Release|Win32.Build.0 = Release|Win32 {F8053D66-8267-433A-BF2C-E07E2298C338}.Release|x64.ActiveCfg = Release|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Debug|Win32.ActiveCfg = Debug|x64 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Debug|Win32.Build.0 = Debug|x64 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Debug|x64.ActiveCfg = Debug|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Release|Mixed Platforms.Build.0 = Release|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Release|Win32.ActiveCfg = Release|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Release|Win32.Build.0 = Release|Win32 + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773}.Release|x64.ActiveCfg = Release|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Debug|Win32.ActiveCfg = Debug|x64 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Debug|Win32.Build.0 = Debug|x64 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Debug|x64.ActiveCfg = Debug|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Release|Mixed Platforms.Build.0 = Release|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Release|Win32.ActiveCfg = Release|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Release|Win32.Build.0 = Release|Win32 + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036}.Release|x64.ActiveCfg = Release|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Debug|Win32.ActiveCfg = Debug|x64 + {2C5AD347-6E34-463B-8289-00578E43B255}.Debug|Win32.Build.0 = Debug|x64 + {2C5AD347-6E34-463B-8289-00578E43B255}.Debug|x64.ActiveCfg = Debug|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Release|Mixed Platforms.Build.0 = Release|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Release|Win32.ActiveCfg = Release|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Release|Win32.Build.0 = Release|Win32 + {2C5AD347-6E34-463B-8289-00578E43B255}.Release|x64.ActiveCfg = Release|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Debug|Win32.ActiveCfg = Debug|x64 + {63050112-E486-4396-B5E4-303C3BC12D39}.Debug|Win32.Build.0 = Debug|x64 + {63050112-E486-4396-B5E4-303C3BC12D39}.Debug|x64.ActiveCfg = Debug|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Release|Mixed Platforms.Build.0 = Release|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Release|Win32.ActiveCfg = Release|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Release|Win32.Build.0 = Release|Win32 + {63050112-E486-4396-B5E4-303C3BC12D39}.Release|x64.ActiveCfg = Release|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Debug|Win32.ActiveCfg = Debug|x64 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Debug|Win32.Build.0 = Debug|x64 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Debug|x64.ActiveCfg = Debug|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Release|Mixed Platforms.Build.0 = Release|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Release|Win32.ActiveCfg = Release|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Release|Win32.Build.0 = Release|Win32 + {4A9F9353-DB63-460A-BB1C-9CB519DFD414}.Release|x64.ActiveCfg = Release|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Debug|Win32.ActiveCfg = Debug|x64 + {4478909E-6983-425C-9D9F-558CF258E61E}.Debug|Win32.Build.0 = Debug|x64 + {4478909E-6983-425C-9D9F-558CF258E61E}.Debug|x64.ActiveCfg = Debug|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Release|Mixed Platforms.Build.0 = Release|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Release|Win32.ActiveCfg = Release|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Release|Win32.Build.0 = Release|Win32 + {4478909E-6983-425C-9D9F-558CF258E61E}.Release|x64.ActiveCfg = Release|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Debug|Win32.ActiveCfg = Debug|x64 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Debug|Win32.Build.0 = Debug|x64 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Debug|x64.ActiveCfg = Debug|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Release|Mixed Platforms.Build.0 = Release|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Release|Win32.ActiveCfg = Release|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Release|Win32.Build.0 = Release|Win32 + {006A7908-ABF3-4D18-BC35-0A29E39B95F9}.Release|x64.ActiveCfg = Release|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Debug|Win32.ActiveCfg = Debug|x64 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Debug|Win32.Build.0 = Debug|x64 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Debug|x64.ActiveCfg = Debug|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Release|Mixed Platforms.Build.0 = Release|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Release|Win32.ActiveCfg = Release|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Release|Win32.Build.0 = Release|Win32 + {698C2D54-475C-446F-B879-F629BBEF75FE}.Release|x64.ActiveCfg = Release|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Debug|Win32.ActiveCfg = Debug|x64 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Debug|Win32.Build.0 = Debug|x64 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Debug|x64.ActiveCfg = Debug|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Release|Mixed Platforms.Build.0 = Release|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Release|Win32.ActiveCfg = Release|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Release|Win32.Build.0 = Release|Win32 + {8804AD29-E398-480C-AC0F-98EC1B7A51CB}.Release|x64.ActiveCfg = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {2A7F483F-CD19-4F84-BBDA-B6A1865E2773} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {F67EB1EA-DCFA-4758-A2AA-4B570BA78036} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {2C5AD347-6E34-463B-8289-00578E43B255} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {4478909E-6983-425C-9D9F-558CF258E61E} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {4A9F9353-DB63-460A-BB1C-9CB519DFD414} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {006A7908-ABF3-4D18-BC35-0A29E39B95F9} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {63050112-E486-4396-B5E4-303C3BC12D39} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {8804AD29-E398-480C-AC0F-98EC1B7A51CB} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {698C2D54-475C-446F-B879-F629BBEF75FE} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {17077E86-AE7C-41AF-86ED-2BAC03B019BC} = {857A09AF-FE20-461C-B66F-D779422AD46B} + {F8053D66-8267-433A-BF2C-E07E2298C338} = {F8E85E25-4D67-4A6B-A976-C920790B8798} + EndGlobalSection EndGlobal diff --git a/bindings/msvc_native/prebuild_script.bat b/bindings/msvc_native/prebuild_script.bat new file mode 100644 index 00000000..cc1e602b --- /dev/null +++ b/bindings/msvc_native/prebuild_script.bat @@ -0,0 +1,19 @@ +del ..\..\..\qemu\qapi-types.h 2> null +del ..\..\..\qemu\qapi-types.c 2> null + +del ..\..\..\qemu\qapi-visit.h 2> null +del ..\..\..\qemu\qapi-visit.c 2> null + +del ..\..\..\qemu\config-host.h 2> null + +del ..\..\..\qemu\aarch-softmmu\config-target.h 2> null +del ..\..\..\qemu\arm-softmmu\config-target.h 2> null +del ..\..\..\qemu\m68k-softmmu\config-target.h 2> null +del ..\..\..\qemu\mips64el-softmmu\config-target.h 2> null +del ..\..\..\qemu\mips64-softmmu\config-target.h 2> null +del ..\..\..\qemu\mipsel-softmmu\config-target.h 2> null +del ..\..\..\qemu\mips-softmmu\config-target.h 2> null +del ..\..\..\qemu\sparc64-softmmu\config-target.h 2> null +del ..\..\..\qemu\sparc-softmmu\config-target.h 2> null +del ..\..\..\qemu\x86_64-softmmu\config-target.h 2> null +del null diff --git a/bindings/msvc_native/sample_x86/sample_x86.vcxproj b/bindings/msvc_native/sample_x86/sample_x86.vcxproj index ae7fb5a8..c7e2e0ca 100644 --- a/bindings/msvc_native/sample_x86/sample_x86.vcxproj +++ b/bindings/msvc_native/sample_x86/sample_x86.vcxproj @@ -100,6 +100,9 @@ true $(SolutionDir)$(Platform)\$(Configuration)\ + + ..\prebuild_script.bat + @@ -117,6 +120,9 @@ true $(SolutionDir)$(Platform)\$(Configuration)\ + + ..\prebuild_script.bat + @@ -138,6 +144,9 @@ true $(SolutionDir)$(Platform)\$(Configuration)\ + + ..\prebuild_script.bat + @@ -159,6 +168,9 @@ true $(SolutionDir)$(Platform)\$(Configuration)\ + + ..\prebuild_script.bat + diff --git a/bindings/msvc_native/sparc-softmmu/config-target.h b/bindings/msvc_native/sparc-softmmu/config-target.h new file mode 100644 index 00000000..3702f2f6 --- /dev/null +++ b/bindings/msvc_native/sparc-softmmu/config-target.h @@ -0,0 +1,6 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_SPARC 1 +#define TARGET_NAME "sparc" +#define TARGET_SPARC 1 +#define TARGET_WORDS_BIGENDIAN 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj b/bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj new file mode 100644 index 00000000..02be713f --- /dev/null +++ b/bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {698C2D54-475C-446F-B879-F629BBEF75FE} + Win32Proj + sparcsoftmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + sparc.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + sparc.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + sparc.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + sparc.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj.filters b/bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/sparc-softmmu/sparc-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/sparc64-softmmu/config-target.h b/bindings/msvc_native/sparc64-softmmu/config-target.h new file mode 100644 index 00000000..63fa864d --- /dev/null +++ b/bindings/msvc_native/sparc64-softmmu/config-target.h @@ -0,0 +1,6 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_SPARC64 1 +#define TARGET_NAME "sparc64" +#define TARGET_SPARC 1 +#define TARGET_WORDS_BIGENDIAN 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj b/bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj new file mode 100644 index 00000000..8d68a3b2 --- /dev/null +++ b/bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {8804AD29-E398-480C-AC0F-98EC1B7A51CB} + Win32Proj + sparc64softmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + sparc64.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreadedDebug + false + sparc64.h + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + sparc64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-sparc;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + MultiThreaded + false + sparc64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj.filters b/bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj.filters new file mode 100644 index 00000000..9cd85105 --- /dev/null +++ b/bindings/msvc_native/sparc64-softmmu/sparc64-softmmu.vcxproj.filters @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/bindings/msvc_native/x86_64-softmmu/config-target.h b/bindings/msvc_native/x86_64-softmmu/config-target.h new file mode 100644 index 00000000..3edfc5d3 --- /dev/null +++ b/bindings/msvc_native/x86_64-softmmu/config-target.h @@ -0,0 +1,5 @@ +/* Automatically generated by create_config - do not modify */ +#define TARGET_X86_64 1 +#define TARGET_NAME "x86_64" +#define TARGET_I386 1 +#define CONFIG_SOFTMMU 1 diff --git a/bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj b/bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj new file mode 100644 index 00000000..b12d0125 --- /dev/null +++ b/bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj @@ -0,0 +1,228 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + true + true + + + + + + + + + + + + + + + + + + + + {17077E86-AE7C-41AF-86ED-2BAC03B019BC} + Win32Proj + x86_64softmmu + + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + true + v110_xp + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + StaticLibrary + false + v110_xp + true + MultiByte + + + + + + + + + + + + + + + + + + + $(ProjectDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + + + $(SolutionDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + $(ProjectDir)$(Platform)\$(Configuration)\ + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + MultiThreadedDebug + ../../msvc_native;..;.;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-i386;../../../include + x86_64.h + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + false + + + Windows + true + + + ..\prebuild_script.bat + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + MultiThreadedDebug + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-i386;../../../include + x86_64.h + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + false + + + Windows + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__i386__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + MultiThreaded + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-i386;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + false + x86_64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;__x86_64__;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;inline=__inline;__func__=__FUNCTION__;NEED_CPU_H + MultiThreaded + .;..;../../../qemu;../../../qemu/include;../../../qemu/tcg;../../../qemu/tcg/i386;../../../qemu/target-i386;../../../include + /wd4018 /wd4244 /wd4267 %(AdditionalOptions) + false + x86_64.h + + + Windows + true + true + true + + + ..\prebuild_script.bat + + + + + + \ No newline at end of file diff --git a/bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj.filters b/bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj.filters new file mode 100644 index 00000000..61f6c986 --- /dev/null +++ b/bindings/msvc_native/x86_64-softmmu/x86_64-softmmu.vcxproj.filters @@ -0,0 +1,135 @@ + + + + + {db59a62f-c036-40c3-9dd8-8b30c9f06415} + + + {42fe7224-78f7-45a5-a173-9ed3bdeb1985} + + + {f33c9635-4286-435a-ab9c-3f2f245ce7f9} + + + {afdb0084-499f-46ea-97a2-6920a8f64800} + + + {dc6b560b-40ea-47a1-91f1-50718313849f} + + + {d3a1fd5b-09b0-4896-af49-5b3668f03a72} + + + {9b7b99b2-982e-46b5-aff2-1ff3a353d3db} + + + + + + + + + + + + + fpu + + + hw\i386 + + + hw\i386 + + + hw\intc + + + hw\intc + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + target-i386 + + + tcg + + + tcg + + + tcg\i386 + + + + + tcg + + + tcg + + + tcg + + + tcg + + + tcg + + + tcg + + + fpu + + + fpu + + + target-i386 + + + + tcg\i386 + + + \ No newline at end of file From 40434f60818c40d7fa767f18fd90dd3b9248185b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 22 Jan 2017 04:53:58 +0800 Subject: [PATCH 5/7] Update config-host.h msvc: cleanup config-host.h --- bindings/msvc_native/config-host.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/bindings/msvc_native/config-host.h b/bindings/msvc_native/config-host.h index 98913d6c..52c1b8ad 100644 --- a/bindings/msvc_native/config-host.h +++ b/bindings/msvc_native/config-host.h @@ -1,22 +1 @@ -/* -This is a hand made version for MSVC native support -It seems that most of these are not used by any source files. -The only one that I can see being used is: CONFIG_CPUID_H -*/ - -#define CONFIG_QEMU_CONFDIR "c:/Program Files/QEMU" -#define CONFIG_QEMU_DATADIR "" -#define CONFIG_QEMU_DOCDIR "c:/Program Files/QEMU" -#define CONFIG_QEMU_MODDIR "c:/Program Files/QEMU/lib" -#define CONFIG_QEMU_HELPERDIR "c:/Program Files/QEMU/libexec" -#define HOST_I386 1 -#define CONFIG_WIN32 1 -#define CONFIG_FILEVERSION 2,2,1,0 -#define CONFIG_PRODUCTVERSION 2,2,1,0 -#define QEMU_VERSION "2.2.1" -#define QEMU_PKGVERSION "" -#define CONFIG_ZERO_MALLOC 1 #define CONFIG_CPUID_H 1 -#define CONFIG_THREAD_SETNAME_BYTHREAD 1 -#define CONFIG_PTHREAD_SETNAME_NP 1 -#define HOST_DSOSUF ".dll" From 49c904a629671287dbe181cca26e0615b2c6e2e4 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 22 Jan 2017 05:56:37 +0800 Subject: [PATCH 6/7] cleanup qemu/configure --- qemu/configure | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/qemu/configure b/qemu/configure index 7ce325d1..bcd0403f 100755 --- a/qemu/configure +++ b/qemu/configure @@ -168,7 +168,6 @@ mingw32="no" EXESUF="" DSOSUF=".so" LDFLAGS_SHARED="-shared" -confsuffix="/qemu" bsd="no" linux="no" solaris="no" @@ -372,9 +371,6 @@ fi # OS specific -# host *BSD for user mode -HOST_VARIANT_DIR="" - case $targetos in CYGWIN*) linux="yes" @@ -390,22 +386,18 @@ FreeBSD) make="${MAKE-gmake}" # needed for kinfo_getvmmap(3) in libutil.h LIBS="-lutil $LIBS" - HOST_VARIANT_DIR="freebsd" ;; DragonFly) bsd="yes" make="${MAKE-gmake}" - HOST_VARIANT_DIR="dragonfly" ;; NetBSD) bsd="yes" make="${MAKE-gmake}" - HOST_VARIANT_DIR="netbsd" ;; OpenBSD) bsd="yes" make="${MAKE-gmake}" - HOST_VARIANT_DIR="openbsd" ;; Darwin) bsd="yes" @@ -418,7 +410,6 @@ Darwin) # Disable attempts to use ObjectiveC features in os/object.h since they # won't work when we're compiling with gcc as a C compiler. QEMU_CFLAGS="-DOS_OBJECT_USE_OBJC=0 $QEMU_CFLAGS" - HOST_VARIANT_DIR="darwin" ;; SunOS) solaris="yes" @@ -486,7 +477,6 @@ EOF if compile_prog "" "-liberty" ; then LIBS="-liberty $LIBS" fi - confsuffix="" fi werror="" @@ -1269,7 +1259,6 @@ bflt="no" TARGET_ARCH="$target_name" TARGET_BASE_ARCH="" -TARGET_ABI_DIR="" case "$target_name" in i386) @@ -1325,21 +1314,17 @@ case "$target_name" in ;; ppcemb) TARGET_BASE_ARCH=ppc - TARGET_ABI_DIR=ppc ;; ppc64) TARGET_BASE_ARCH=ppc - TARGET_ABI_DIR=ppc ;; ppc64le) TARGET_ARCH=ppc64 TARGET_BASE_ARCH=ppc - TARGET_ABI_DIR=ppc ;; ppc64abi32) TARGET_ARCH=ppc64 TARGET_BASE_ARCH=ppc - TARGET_ABI_DIR=ppc echo "TARGET_ABI32=y" >> $config_target_mak ;; sh4|sh4eb) @@ -1354,7 +1339,6 @@ case "$target_name" in sparc32plus) TARGET_ARCH=sparc64 TARGET_BASE_ARCH=sparc - TARGET_ABI_DIR=sparc echo "TARGET_ABI32=y" >> $config_target_mak ;; s390x) @@ -1383,13 +1367,6 @@ target_arch_name="`upper $TARGET_ARCH`" echo "TARGET_$target_arch_name=y" >> $config_target_mak echo "TARGET_NAME=$target_name" >> $config_target_mak echo "TARGET_BASE_ARCH=$TARGET_BASE_ARCH" >> $config_target_mak -if [ "$TARGET_ABI_DIR" = "" ]; then - TARGET_ABI_DIR=$TARGET_ARCH -fi -echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak -if [ "$HOST_VARIANT_DIR" != "" ]; then - echo "HOST_VARIANT_DIR=$HOST_VARIANT_DIR" >> $config_target_mak -fi if test "$target_bigendian" = "yes" ; then echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak fi @@ -1402,10 +1379,6 @@ fi cflags="" ldflags="" -if test "$tcg_interpreter" = "yes" ; then - echo "CONFIG_TCI_DIS=y" >> $config_target_mak -fi - case "$ARCH" in alpha) # Ensure there's only a single GP From a0f7b526bdd77ed6ce1728ad638cd65e25e13c97 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 22 Jan 2017 06:02:07 +0800 Subject: [PATCH 7/7] cleanup include/unicorn/*.h --- include/unicorn/m68k.h | 2 -- include/unicorn/sparc.h | 2 -- include/unicorn/x86.h | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/unicorn/m68k.h b/include/unicorn/m68k.h index 9f4d39d0..33c0cb9e 100644 --- a/include/unicorn/m68k.h +++ b/include/unicorn/m68k.h @@ -8,8 +8,6 @@ extern "C" { #endif -#include "unicorn/platform.h" - #ifdef _MSC_VER #pragma warning(disable:4201) #endif diff --git a/include/unicorn/sparc.h b/include/unicorn/sparc.h index 4a1acff2..80959adc 100644 --- a/include/unicorn/sparc.h +++ b/include/unicorn/sparc.h @@ -8,8 +8,6 @@ extern "C" { #endif -#include "unicorn/platform.h" - // GCC SPARC toolchain has a default macro called "sparc" which breaks // compilation #undef sparc diff --git a/include/unicorn/x86.h b/include/unicorn/x86.h index c1d560ee..cb3f1d93 100644 --- a/include/unicorn/x86.h +++ b/include/unicorn/x86.h @@ -8,7 +8,7 @@ extern "C" { #endif -#include "unicorn/platform.h" +#include "platform.h" // Memory-Management Register for instructions IDTR, GDTR, LDTR, TR. // Borrow from SegmentCache in qemu/target-i386/cpu.h