qemu/linux-user
Kevin O'Connor 7848c8d19f target-i386: the x86 CPL is stored in CS.selector - auto update hflags accordingly.
Instead of manually calling cpu_x86_set_cpl() when the CPL changes,
check for CPL changes on calls to cpu_x86_load_seg_cache(R_CS).  Every
location that called cpu_x86_set_cpl() also called
cpu_x86_load_seg_cache(R_CS), so cpu_x86_set_cpl() is no longer
required.

This fixes the SMM handler code as it was not setting/restoring the
CPL level manually.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-05-13 13:12:40 +02:00
..
aarch64
alpha
arm
cris
i386
m68k cpu: Move opaque field from CPU_COMMON to CPUState 2014-03-13 19:20:47 +01:00
microblaze
mips
mips64
openrisc
ppc
s390x
sh4
sparc
sparc64
unicore32
x86_64
elfload.c linux-user/elfload.c: Support ARM HWCAP2 flags 2014-05-02 21:59:36 +03:00
errno_defs.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c cpu: Move opaque field from CPU_COMMON to CPUState 2014-03-13 19:20:47 +01:00
m68k-sim.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
main.c target-i386: the x86 CPL is stored in CS.selector - auto update hflags accordingly. 2014-05-13 13:12:40 +02:00
Makefile.objs linux-user: rename cpu-uname -> uname 2014-05-02 21:59:36 +03:00
mmap.c
qemu.h linux-user: Don't allow guest to block SIGSEGV 2014-03-17 11:44:32 +02:00
signal.c linux-user/signal.c: Set fault address in AArch64 signal info 2014-05-02 21:59:36 +03:00
socket.h
strace.c
strace.list
syscall_defs.h linux-user: avoid using glibc internals in _syscall5 and in definition of target_sigevent struct 2014-05-02 21:59:28 +03:00
syscall_types.h
syscall.c linux-user: fix getrusage and wait4 failures with invalid rusage struct 2014-05-05 15:21:05 +03:00
target_flat.h
uaccess.c
uname.c linux-user: remove configure option for setting uname release 2014-05-02 21:59:36 +03:00
uname.h linux-user: move uname functions to uname.c 2014-05-02 21:59:36 +03:00
vm86.c cpu: Move opaque field from CPU_COMMON to CPUState 2014-03-13 19:20:47 +01:00