Changeset 97220 in vbox
- Timestamp:
- Oct 18, 2022 10:50:03 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r97213 r97220 325 325 VMMDECL(int) CPUMSetGuestEFlags(PVMCPU pVCpu, uint32_t eflags) 326 326 { 327 pVCpu->cpum.s.Guest.eflags.u 32= eflags;327 pVCpu->cpum.s.Guest.eflags.u = eflags; 328 328 pVCpu->cpum.s.Guest.fExtrn &= ~CPUMCTX_EXTRN_RFLAGS; 329 329 return VINF_SUCCESS; … … 659 659 { 660 660 CPUM_INT_ASSERT_NOT_EXTRN(pVCpu, CPUMCTX_EXTRN_RFLAGS); 661 return pVCpu->cpum.s.Guest.eflags.u 32;661 return pVCpu->cpum.s.Guest.eflags.u; 662 662 } 663 663 … … 2087 2087 pCtx->cr3 = pHostState->uCr3; 2088 2088 CPUMSetGuestCR4(pVCpu, pHostState->uCr4); 2089 pCtx->rflags = pHostState->rflags;2089 pCtx->rflags.u = pHostState->rflags.u; 2090 2090 pCtx->rflags.Bits.u1VM = 0; 2091 2091 pCtx->rip = pHostState->uRip; … … 2123 2123 pHostState->uCr3 = pCtx->cr3; 2124 2124 pHostState->uCr4 = pCtx->cr4; 2125 pHostState->rflags = pCtx->rflags;2125 pHostState->rflags.u = pCtx->rflags.u; 2126 2126 pHostState->uRip = pCtx->rip + cbInstr; 2127 2127 pHostState->uRsp = pCtx->rsp;
Note:
See TracChangeset
for help on using the changeset viewer.