- Timestamp:
- Feb 2, 2012 1:37:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r39945 r39948 1881 1881 if (fFlags & IEM_XCPT_FLAGS_ERR) 1882 1882 *uStackFrame.pu32++ = uErr; 1883 uStackFrame.pu32[0] = pCtx->eip; 1883 uStackFrame.pu32[0] = (fFlags & (IEM_XCPT_FLAGS_T_SOFT_INT | IEM_XCPT_FLAGS_BP_INSTR)) == IEM_XCPT_FLAGS_T_SOFT_INT 1884 ? pCtx->eip + cbInstr : pCtx->eip; 1884 1885 uStackFrame.pu32[1] = (pCtx->cs & ~X86_SEL_RPL) | pIemCpu->uCpl; 1885 1886 uStackFrame.pu32[2] = pCtx->eflags.u; … … 1935 1936 if (fFlags & IEM_XCPT_FLAGS_ERR) 1936 1937 *uStackFrame.pu32++ = uErr; 1937 uStackFrame.pu32[0] = pCtx->eip; 1938 uStackFrame.pu32[0] = (fFlags & (IEM_XCPT_FLAGS_T_SOFT_INT | IEM_XCPT_FLAGS_BP_INSTR)) == IEM_XCPT_FLAGS_T_SOFT_INT 1939 ? pCtx->eip + cbInstr : pCtx->eip; 1938 1940 uStackFrame.pu32[1] = (pCtx->cs & ~X86_SEL_RPL) | pIemCpu->uCpl; 1939 1941 uStackFrame.pu32[2] = pCtx->eflags.u; … … 4836 4838 } 4837 4839 4838 return iemMemCommitAndUnmap(pIemCpu, (void *)pu32, IEM_ACCESS_ DATA_RW);4840 return iemMemCommitAndUnmap(pIemCpu, (void *)pu32, IEM_ACCESS_SYS_RW); 4839 4841 } 4840 4842
Note:
See TracChangeset
for help on using the changeset viewer.