unicorn/qemu
Elton G 47150b6df3 reg_read and reg_write now work with registers W0 through W30 in Aarch64 (#716)
* reg_read and reg_write now work with registers W0 through W30 in Aarch64 emulaton

* Added a regress test for the ARM64 reg_read and reg_write on 32-bit registers (W0-W30)
Added a new macro in uc_priv.h (WRITE_DWORD_TO_QWORD), in order to write to the lower 32 bits of a 64 bit value without overwriting the whole value when using reg_write

* Fixed WRITE_DWORD macro

reg_write would zero out the high order bits when writing to 32 bit registers

e.g. uc.reg_write(UC_X86_REG_EAX, 0) would also set register RAX to zero
2017-01-15 20:13:35 +08:00
..
default-configs import 2015-08-21 15:04:50 +08:00
docs import 2015-08-21 15:04:50 +08:00
fpu Port patch from upstream to check for invalid long double encodings 2016-08-20 11:31:46 -07:00
hw Support for MCLASS ARM cpu (Cortex-M3) (#700) 2016-12-27 22:49:06 +08:00
include more cleanup 2017-01-10 16:29:47 +08:00
qapi more cleanup 2017-01-10 16:29:47 +08:00
qobject clean all qobject json code 2017-01-09 16:09:53 +08:00
qom revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
scripts fix file perms 2015-08-28 21:05:38 -07:00
target-arm reg_read and reg_write now work with registers W0 through W30 in Aarch64 (#716) 2017-01-15 20:13:35 +08:00
target-i386 more cleanup 2017-01-10 16:29:47 +08:00
target-m68k revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
target-mips revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
target-sparc revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
tcg revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
util more cleanup 2017-01-10 16:29:47 +08:00
aarch64.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
accel.c revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
arm.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
CODING_STYLE import 2015-08-21 15:04:50 +08:00
config-all-disas.mak import 2015-08-21 15:04:50 +08:00
configure cleanup qemu/configure 2017-01-08 01:35:19 +08:00
COPYING import 2015-08-21 15:04:50 +08:00
COPYING.LIB import 2015-08-21 15:04:50 +08:00
cpu-exec.c Rename unhandled CPU exception 2016-07-05 11:10:39 -05:00
cpus.c cleanup more synchronization code 2017-01-09 14:05:39 +08:00
cputlb.c remove uc->cpus 2016-09-23 07:38:21 -07:00
exec.c revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
gen_all_header.sh fix file perms 2015-08-28 21:05:38 -07:00
glib_compat.c macro GPOINTER_TO_UINT 2017-01-02 01:00:11 +08:00
HACKING import 2015-08-21 15:04:50 +08:00
header_gen.py cleanup qemu/util code 2017-01-10 12:57:12 +08:00
ioport.c refactor to allow multiple hooks for one type 2016-01-22 18:41:43 -08:00
LICENSE import 2015-08-21 15:04:50 +08:00
m68k.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
Makefile import 2015-08-21 15:04:50 +08:00
Makefile.objs remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
Makefile.target import 2015-08-21 15:04:50 +08:00
memory_mapping.c revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
memory.c revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
mips64.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
mips64el.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
mips.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
mipsel.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
powerpc.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
qapi-schema.json import 2015-08-21 15:04:50 +08:00
qemu-log.c import 2015-08-21 15:04:50 +08:00
qemu-timer.c cleanup more synchronization code 2017-01-09 14:05:39 +08:00
rules.mak import 2015-08-21 15:04:50 +08:00
softmmu_template.h add new hook type UC_HOOK_MEM_READ_AFTER, adapted from PR #399 by @farmdve. updated all bindings, except Ruby & Haskell 2016-10-22 11:19:55 +08:00
sparc64.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
sparc.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00
tcg-runtime.c import 2015-08-21 15:04:50 +08:00
translate-all.c revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
translate-all.h import 2015-08-21 15:04:50 +08:00
unicorn_common.h revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
VERSION import 2015-08-21 15:04:50 +08:00
vl.c cleanup more synchronization code 2017-01-09 14:05:39 +08:00
vl.h import 2015-08-21 15:04:50 +08:00
x86_64.h cleanup qemu/util code 2017-01-10 12:57:12 +08:00