Commit Graph

14 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
b69126612d delete qemu/target-ppc/pointer_fix.py 2020-05-28 09:45:29 +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
f77bdb3c7e ppc: remove unused files 2020-05-27 15:53:51 +08:00
Nguyen Anh Quynh
ad1d9156f3 chmod -x for PPC files 2020-05-27 15:17:39 +08:00
Simon Gorchakov
0e8b6a8bba Fixed warnings. 2020-05-25 23:28:25 +03:00
Simon Gorchakov
e55b25c744 Removed warning about missing interrupt controller. 2020-05-21 22:10:25 +03:00
Simon Gorchakov
fd44c670cb Indented with spaces, not tabs 2020-05-15 09:52:31 +03:00
Simon Gorchakov
5c55aa2d56 Fix UC_HOOK_CODE 2020-05-14 23:46:16 +03:00
Simon Gorchakov
425efda77e Remove debug message causing python check failure 2020-05-11 23:55:26 +03:00
Simon Gorchakov
65188be06f Fix some warnings 2020-05-11 23:13:47 +03:00
Simon Gorchakov
ea26926b60 Fix ffs() in MinGW 2020-05-11 23:10:19 +03:00
Simon Gorchakov
279483ec29 Fix ffs() argument type problem. 2020-05-10 22:32:51 +03:00
Simon Gorchakov
76a3ebdc03 Fix no return value error. 2020-05-10 22:31:20 +03:00
Simon Gorchakov
a6c9b41c68 Initial update for PPC 2020-05-08 21:54:29 +03:00