Changeset 48326 in vbox for trunk/src/VBox
- Timestamp:
- Sep 5, 2013 8:41:59 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0Mixed.mac
r48318 r48326 80 80 sgdt [xSP] 81 81 mov xAX, xBX 82 and al, 0F8h ; Mask away TI and RPL bits, getdescriptor offset.82 and eax, X86_SEL_MASK_OFF_RPL ; Mask away TI and RPL bits leaving only the descriptor offset. 83 83 add xAX, [xSP + 2] ; eax <- GDTR.address + descriptor offset. 84 and dword [ss:xAX + 4], ~ 0200h ; Clear busy flag (2nd type2bit).84 and dword [ss:xAX + 4], ~RT_BIT(9) ; Clear the busy flag in TSS desc (bits 0-7=base, bit 9=busy bit). 85 85 ltr bx 86 86 add xSP, xCB * 2 … … 343 343 sgdt [xSP] 344 344 mov xAX, xBX 345 and al, 0F8h ; Mask away TI and RPL bits, getdescriptor offset.346 add xAX, [xSP + 2] 347 and dword [xAX + 4], ~ 0200h ; Clear busy flag (2nd type2bit).345 and eax, X86_SEL_MASK_OFF_RPL ; Mask away TI and RPL bits leaving only the descriptor offset. 346 add xAX, [xSP + 2] ; eax <- GDTR.address + descriptor offset. 347 and dword [xAX + 4], ~RT_BIT(9) ; Clear the busy flag in TSS desc (bits 0-7=base, bit 9=busy bit). 348 348 ltr bx 349 349 add xSP, xCB * 2 -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48284 r48326 4063 4063 { 4064 4064 pVCpu->hm.s.vmx.pfnStartVM = VMXR0SwitcherStartVM64; 4065 /** @todo this isn't necessary, but I'm still seeing trip ple faults. */4065 /** @todo this isn't necessary, but I'm still seeing triple faults. */ 4066 4066 VMCPU_FF_SET(pVCpu, VMCPU_FF_TO_R3); 4067 4067 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_VMX_EXIT_CTLS;
Note:
See TracChangeset
for help on using the changeset viewer.