qemu-e2k/bsd-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
..
freebsd
i386
netbsd
openbsd
sparc
sparc64
x86_64
bsd-mman.h
bsdload.c
elfload.c bsd-user: Change thread_env to CPUState 2013-07-09 21:33:01 +02:00
errno_defs.h
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 build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
mmap.c bsd-user: avoid conflict with qemu_vmalloc 2013-01-26 13:18:27 +00:00
qemu.h *-user: Improve documentation for lock_user function 2013-09-20 20:09:24 +04:00
signal.c Rename CPUState -> CPUArchState 2012-03-14 22:20:27 +01:00
strace.c
syscall_defs.h
syscall.c bsd-user: OS-agnostic 64-bit SYSCTL types 2013-05-12 13:25:55 +04:00
uaccess.c