Commit Graph

2056 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
cfaa329d36 remove dead code 2020-06-11 15:56:39 +08:00
Nguyen Anh Quynh
33bd9eadae simplify transaction & pending memory update 2020-06-11 15:50:16 +08:00
Nguyen Anh Quynh
ac05215a9c unicorn memory is not dirty 2020-06-11 13:11:30 +08:00
Nguyen Anh Quynh
f3b1d9fd20 Revert "cleanup parent_class"
This reverts commit b0c74bbee2.
2020-06-11 12:54:48 +08:00
Nguyen Anh Quynh
d531096586 cleanup 2020-06-11 01:56:32 +08:00
Nguyen Anh Quynh
b6b92391d6 cleanup 2020-06-10 11:43:42 +08:00
Nguyen Anh Quynh
c25c9d6be0 cleanup 2020-06-10 00:30:42 +08:00
Nguyen Anh Quynh
b0c74bbee2 cleanup parent_class 2020-06-09 22:21:10 +08:00
Chen Huitao
1ee37cc026
remove i386 and mips in hw (#1289)
* remove apic files. update make and cmake.

* remove default-configs dir.

* fix a mem-leak bug. remove owner arg in memory.

* fix a mem-leak bug.

* remove hw/i386, hw/mips.

* clean code.

* update cmake.

* restore code.
2020-06-09 19:32:24 +08:00
Nguyen Anh Quynh
84c6f0d82f cleanup 2020-06-08 18:32:31 +08:00
Nguyen Anh Quynh
df8237175f some more cleanup 2020-06-08 11:18:52 +08:00
Nguyen Anh Quynh
68f2bdc641 more cleanup for Makefile 2020-06-08 10:06:34 +08:00
Nguyen Anh Quynh
09d42b408a remove more dead files 2020-06-08 10:00:06 +08:00
Nguyen Anh Quynh
5605522d15 cleanup Makefile 2020-06-08 09:13:51 +08:00
Nguyen Anh Quynh
411648eb0c cleanup x86 code 2020-06-08 08:30:36 +08:00
Chen Huitao
c09adf5b7b
remove apci, default-congfigs (#1288)
* remove apic files. update make and cmake.

* remove default-configs dir.

* fix a mem-leak bug. remove owner arg in memory.
2020-06-08 08:21:44 +08:00
Nguyen Anh Quynh
a8f724010b cleanup disable code (from the commit removing qom qobject) 2020-06-07 23:51:44 +08:00
chenhuitao
6fc4fc41ec update cmake. remove warnings. 2020-06-07 04:57:03 +08:00
chenhuitao
a51715734a update PPC objs. only build libdecnumber while PPC is enabled. 2020-06-07 04:25:07 +08:00
chenhuitao
4ba2b30d18 Merge remote-tracking branch 'upstream/next' into next 2020-06-07 03:54:22 +08:00
chenhuitao
37e325643b remove qobject, qapi, qom... 2020-06-07 03:53:10 +08:00
John Zimmermann
cc586bdba6 cmake: fix build if workdir is outside of CMAKE_BINARY_DIR (#1284)
this e.g. happens if you would try to compile this like this:

cmake -B build
cmake --build build --config Release
2020-06-06 12:55:14 +08:00
Dominik Maier
7bd93c0d74 fix error handling of mmap() calls (#1283) 2020-06-06 12:52:36 +08:00
Nguyen Anh Quynh
b33c0afa63 save cpu->jmp_env in saving context, so uc_emu_start() can be reentrant. also improved Python binding on handling context 2020-06-06 12:52:00 +08:00
John Zimmermann
991d2432b3
cmake: fix static linking due to cyclic deps (#1281)
linking of samples like sample_arm do fail due to cyclic references in
the archives
2020-06-04 17:37:23 +08:00
Nguyen Anh Quynh
42bc8b1768 cmake: more typo fix of UNICRON (ppc) 2020-06-03 10:15:55 +08:00
scribam
a23ce3c27f cmake: fix typo "UNICRON" => "UNICORN" (#1277) 2020-06-03 10:14:33 +08:00
Nguyen Anh Quynh
0cfe8b9bad cmake: fix Visual Studio build with FI, following other archs 2020-06-02 16:08:24 +08:00
scribam
d3e55b1c2d cmake: fix Visual Studio build (#1276) 2020-06-02 16:06:15 +08:00
Nguyen Anh Quynh
fdb6494934 Merge branch 'next' of github.com:unicorn-engine/unicorn into next 2020-06-01 00:02:16 +08:00
scribam
1a68ae656f cmake: add option to build unicorn as a static library (#1275) 2020-06-01 00:02:05 +08:00
Stuart Dootson
b27af3398d
Update CREDITS.TXT (#1274) 2020-05-29 17:49:06 +08:00
Nguyen Anh Quynh
7292e5d6e4 python: add PPC to long description of setup.py 2020-05-29 11:59:24 +08:00
Nguyen Anh Quynh
eeb6208fb3 python: add long description to setup.py 2020-05-29 11:58:33 +08:00
Nguyen Anh Quynh
857b155bb8 CREDITS 2020-05-29 00:09:17 +08:00
Stuart Dootson
c5bae30b1d
Add Visual Studio project files for PowerPC support (#1272)
* Fix 64-bit enums for MSVC

As Windows has 32 bit ints (x86 or x64), enums in the Microsoft C compiler are only 32 bits. The PPC machine description uses 64 bit enum values, which won't work for MSVC. Replace them with #defines

* Add `ffs` implementation for Microsoft C/C++

* Remove GCC function attributes for non-GCC compilers

* Add macro to provide MSVC definition of strncasecmp

* Workaround MSVC pre-processor deficiencies

The MSVC preprocessor doesn't appear to like having a #if/#endif within a macro invocation. To placate it, surround two instances of the macro invocation (with appropriately different arguments!) with #if/#else/#endif

* Add Visual Studio project files for PowerPC

* Forgot to add PPC import library to x64 configurations
2020-05-29 00:07:56 +08:00
Nguyen Anh Quynh
b69126612d delete qemu/target-ppc/pointer_fix.py 2020-05-28 09:45:29 +08:00
chenhuitao
e33fcc2f30 Merge remote-tracking branch 'upstream/next' into next 2020-05-28 01:41:07 +08:00
Stuart Dootson
9bfa40184c
Make MSVC happy with the new PowerPC code (#1271)
* Fix 64-bit enums for MSVC

As Windows has 32 bit ints (x86 or x64), enums in the Microsoft C compiler are only 32 bits. The PPC machine description uses 64 bit enum values, which won't work for MSVC. Replace them with #defines

* Add `ffs` implementation for Microsoft C/C++

* Remove GCC function attributes for non-GCC compilers

* Add macro to provide MSVC definition of strncasecmp

* Workaround MSVC pre-processor deficiencies

The MSVC preprocessor doesn't appear to like having a #if/#endif within a macro invocation. To placate it, surround two instances of the macro invocation (with appropriately different arguments!) with #if/#else/#endif
2020-05-28 01:26:03 +08:00
Nguyen Anh Quynh
10cac9d34e add msvc/unicorn/ppc-softmmu/config-target.h 2020-05-27 19:37:54 +08:00
Nguyen Anh Quynh
b4894ce43e cleanup sample_ppc.c 2020-05-27 16:54:00 +08:00
chfl4gs
1b4fb66138 make header for make related builds (#1268)
* Travis-CI Migration (#1230)

* Travis-CI Migration

* Travis-CI addition cmake Linux

* Travis-CI cmake fix

* Travis-CI Arm64 build

* make header for make related build
2020-05-27 16:42:51 +08:00
Nguyen Anh Quynh
132d97dfea cmake supports PPC. TODO: msvc/unicorn/ppc-softmmu is still missing 2020-05-27 16:33:08 +08:00
Nguyen Anh Quynh
f77bdb3c7e ppc: remove unused files 2020-05-27 15:53:51 +08:00
Nguyen Anh Quynh
90ed828e90 unicorn.h: PPC32 mode is supported 2020-05-27 15:33:35 +08:00
Nguyen Anh Quynh
8cbbf3df42 powerpc: chmod -x source files 2020-05-27 15:32:14 +08:00
Nguyen Anh Quynh
ad1d9156f3 chmod -x for PPC files 2020-05-27 15:17:39 +08:00
Nguyen Anh Quynh
02047d7645 update bindings 2020-05-27 15:04:42 +08:00
Nguyen Anh Quynh
d5d513d9f1 bump version to 1.0.3 2020-05-27 14:50:07 +08:00
Nguyen Anh Quynh
17e7c80eba cleanup & fix qemu/header_gen.py 2020-05-27 14:43:12 +08:00