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
fpu
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
qobject
qom
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
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
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
cputlb.c
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
HACKING
header_gen.py cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
ioport.c
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.c cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
memory_mapping.c
mips.h 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
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
sparc.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
sparc64.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00
tcg-runtime.c
translate-all.c
translate-all.h
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h cleanup qemu/memory.c 2017-01-22 23:07:17 +08:00