/[qemu]/qemu/target-i386/helper.c
ViewVC logotype

Diff of /qemu/target-i386/helper.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53 by bellard, Mon Aug 15 16:33:12 2005 UTC revision 1.54 by bellard, Sun Aug 21 09:32:43 2005 UTC
# Line 2012  static inline void helper_ret_protected( Line 2012  static inline void helper_ret_protected(
2012  #endif  #endif
2013          sp_mask = get_sp_mask(env->segs[R_SS].flags);          sp_mask = get_sp_mask(env->segs[R_SS].flags);
2014      sp = ESP;      sp = ESP;
     /* XXX: ssp is zero in 64 bit ? */  
2015      ssp = env->segs[R_SS].base;      ssp = env->segs[R_SS].base;
2016      new_eflags = 0; /* avoid warning */      new_eflags = 0; /* avoid warning */
2017  #ifdef TARGET_X86_64  #ifdef TARGET_X86_64
# Line 2145  static inline void helper_ret_protected( Line 2144  static inline void helper_ret_protected(
2144          cpu_x86_set_cpl(env, rpl);          cpu_x86_set_cpl(env, rpl);
2145          sp = new_esp;          sp = new_esp;
2146  #ifdef TARGET_X86_64  #ifdef TARGET_X86_64
2147          if (shift == 2)          if (env->hflags & HF_CS64_MASK)
2148              sp_mask = -1;              sp_mask = -1;
2149          else          else
2150  #endif  #endif

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26