Do not use load_seg_vm to load CS in real mode iret handling
commitbdadc0b5b6c396a77c9faed8eb6829789bfb6151
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 2 Oct 2008 20:02:27 +0000 (2 20:02 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 2 Oct 2008 20:02:27 +0000 (2 20:02 +0000)
tree6fa0abbbc1503777cede8cc22a391d0394ed6b4c
parent78f5bf1e6f1abc6b264da9e00e95ab228f3937a8
Do not use load_seg_vm to load CS in real mode iret handling

load_seg_vm calls cpu_x86_load_seg_cache which updates hflags of
current env, real hardware doesn't do this, nor the code that handles
real mode lret/lcall/ljmp.

This unbreaks "unreal mode" and makes QEMU the first emulator being
able to run Project Angel demo by IMPACT Studios. (Not that there are
many physical machines out there capable of doing the same)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5403 c046a42c-6fe2-441c-8c8c-71466251a162
target-i386/op_helper.c