Commit 11774f54 authored by bellard's avatar bellard
Browse files

protected lret x86 'bug' emulation


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@678 c046a42c-6fe2-441c-8c8c-71466251a162
parent d9d849fc
......@@ -1679,7 +1679,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend)
ss_e2);
cpu_x86_set_cpl(env, rpl);
sp = new_esp;
/* XXX: change sp_mask according to old segment ? */
sp_mask = get_sp_mask(ss_e2);
/* validate data segments */
validate_seg(R_ES, cpl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment