unicorn/qemu
Ahmed Samy 02e6c14e12 x86: add MSR API via reg API (#755)
Writing / reading to model specific registers should be as easy as
calling a function, it's a bit stupid to write shell code and run them
just to write/read to a MSR, and even worse, you need more than just a
shellcode to read...

So, add a special register ID called UC_X86_REG_MSR, which should be
passed to uc_reg_write()/uc_reg_read() as the register ID, and then a
data structure which is uc_x86_msr (12 bytes), as the value (always), where:
	Byte	Value		Size
	0	MSR ID		4
	4       MSR val		8
2017-02-24 21:37:19 +08:00
..
default-configs cleanup qemu/default-configs/ 2017-01-19 14:52:30 +08:00
docs cleanup qemu docs 2017-01-18 15:23:40 +08:00
fpu Port patch from upstream to check for invalid long double encodings 2016-08-20 11:31:46 -07:00
hw cleanup Sparc unused code 2017-01-23 12:33:39 +08:00
include recover some ELF symbols for building on Arm, PPC, Sparc & S390. issue #752 2017-02-20 15:16:50 +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 del qemu/scripts/dump-guest-memory.py 2017-01-19 20:56:07 +08:00
target-arm arm: fix a warning 2017-02-23 20:32:09 +08:00
target-i386 x86: add MSR API via reg API (#755) 2017-02-24 21:37:19 +08:00
target-m68k m68k: fix a compilation warning 2017-02-23 20:34:17 +08:00
target-mips remove kvm stuffs 2017-01-20 01:03:59 +08:00
target-sparc cleanup Sparc unused code 2017-01-23 12:33:39 +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 cleanup qemu/util/qemu-timer-common.c 2017-01-21 14:53:33 +08:00
aarch64.h cleanup qemu/memory.c 2017-01-22 23:07:17 +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/memory.c 2017-01-22 23:07:17 +08:00
CODING_STYLE
configure cleanup qemu/configure 2017-01-22 05:56:37 +08:00
COPYING
COPYING.LIB
cpu-exec.c no more spinlock 2017-01-20 14:57:33 +08: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 we dont need to handle VGA & Migration memories 2017-01-20 17:03:39 +08:00
gen_all_header.sh
glib_compat.c macro GPOINTER_TO_UINT 2017-01-02 01:00:11 +08:00
HACKING
header_gen.py cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
ioport.c refactor to allow multiple hooks for one type 2016-01-22 18:41:43 -08:00
LICENSE
m68k.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
Makefile cleanup qemu/default-configs/ 2017-01-19 14:52:30 +08:00
Makefile.objs cleanup qemu/Makefile.objs 2017-01-21 21:50:12 +08:00
Makefile.target
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 cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
mips64.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
mips64el.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
mips.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
mipsel.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
powerpc.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
qapi-schema.json
qemu-log.c
qemu-timer.c timer is redundant 2017-01-20 16:46:58 +08:00
rules.mak
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/memory.c 2017-01-22 23:07:17 +08:00
sparc.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
tcg-runtime.c
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
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
vl.c cleanup more synchronization code 2017-01-09 14:05:39 +08:00
vl.h
x86_64.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00