Added ppc 32bit mode and added sparc mode checks to bring it in line with other archs

This commit is contained in:
xorstream
2016-01-24 22:27:33 +11:00
parent 6f3d48077e
commit 26d3b1e7d6
4 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#include <unicorn/unicorn.h>
#define HARDWARE_ARCHITECTURE UC_ARCH_SPARC
#define HARDWARE_MODE UC_ARCH_SPARC32
#define HARDWARE_MODE UC_ARCH_SPARC32|UC_MODE_BIG_ENDIAN
#define MEMORY_STARTING_ADDRESS 0x1000000
#define MEMORY_SIZE 2 * 1024 * 1024