diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 18:28:57 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 18:28:57 +0000 |
commit | 11774f549e2a85ddeb5b99a16bc3a31a0e753565 (patch) | |
tree | 60fd05622c2b8f81bbf6c0bea41446fd6a444118 /target-i386 | |
parent | d9d849fc5dc755e5bfeecd889cb28f00486510eb (diff) |
protected lret x86 'bug' emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@678 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index d08de8a8b4..3d44cc86b6 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -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); |