Changeset 47319 in vbox
- Timestamp:
- Jul 22, 2013 4:53:15 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r47307 r47319 2466 2466 if (RT_UNLIKELY(rcStrict != VINF_SUCCESS)) 2467 2467 return rcStrict; 2468 Log(("iem iemRaiseXcptOrIntInLongMode: vec=%#x P=%u DPL=%u DT=%u:%u IST=%u %04x:%08x%04x%04x\n",2468 Log(("iemRaiseXcptOrIntInLongMode: vec=%#x P=%u DPL=%u DT=%u:%u IST=%u %04x:%08x%04x%04x\n", 2469 2469 u8Vector, Idte.Gate.u1Present, Idte.Gate.u2Dpl, Idte.Gate.u1DescType, Idte.Gate.u4Type, 2470 2470 Idte.Gate.u3IST, Idte.Gate.u16Sel, Idte.Gate.u32OffsetTop, Idte.Gate.u16OffsetHigh, Idte.Gate.u16OffsetLow)); -
trunk/src/VBox/VMM/VMMAll/IEMAllAImpl.asm
r47307 r47319 883 883 PROLOGUE_4_ARGS 884 884 IEM_MAYBE_LOAD_FLAGS A3, (X86_EFL_ZF | X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_SF | X86_EFL_OF), 0 ; clobbers T0 (eax) 885 mov ax, [A1]885 mov rax, [A1] 886 886 %1 cmpxchg [A0], A2 887 mov [A1], ax887 mov [A1], rax 888 888 IEM_SAVE_FLAGS A3, (X86_EFL_ZF | X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_SF | X86_EFL_OF), 0 ; clobbers T0+T1 (eax, r11/edi) 889 889 EPILOGUE_4_ARGS -
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r47293 r47319 1851 1851 /* Calculate the intermediate RSP from RBP and the stack attributes. */ 1852 1852 RTUINT64U NewRsp; 1853 if (pCtx->ss.Attr.n.u1Long )1853 if (pCtx->ss.Attr.n.u1Long || pCtx->ss.Attr.n.u1Unusable) 1854 1854 NewRsp.u = pCtx->rbp; 1855 1855 else if (pCtx->ss.Attr.n.u1DefBig) … … 2488 2488 if (rcStrict != VINF_SUCCESS) 2489 2489 return rcStrict; 2490 Log2(("iretq stack: cs:rip=%04x:%016RX16 rflags=%016RX16 ss:rsp=%04x:%016RX16\n", 2491 uNewCs, uNewRip, uNewFlags, uNewSs, uNewRsp)); 2490 2492 2491 2493 /* … … 2663 2665 pCtx->ss.u32Limit = UINT32_MAX; 2664 2666 pCtx->ss.u64Base = 0; 2667 Log2(("iretq new SS: NULL\n")); 2665 2668 } 2666 2669 else … … 2670 2673 pCtx->ss.u32Limit = cbLimitSs; 2671 2674 pCtx->ss.u64Base = X86DESC_BASE(&DescSS.Legacy); 2675 Log2(("iretq new SS: base=%#RX64 lim=%#x attr=%#x\n", pCtx->ss.u64Base, pCtx->ss.u32Limit, pCtx->ss.Attr.u)); 2672 2676 } 2673 2677
Note:
See TracChangeset
for help on using the changeset viewer.