- Timestamp:
- Jul 2, 2013 3:32:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0Mixed.mac
r46905 r46913 121 121 122 122 ; VT-x only saves the base of the GDTR & IDTR and resets the limit to 0xffff; we must restore the limit correctly! 123 %if def VMX_SKIP_GDTR_IDTR123 %ifndef VMX_SKIP_GDTR_IDTR 124 124 sub xSP, xCB * 2 125 125 sgdt [xSP] … … 174 174 175 175 ; Restore base and limit of the IDTR & GDTR. 176 %if def VMX_SKIP_GDTR_IDTR176 %ifndef VMX_SKIP_GDTR_IDTR 177 177 lidt [xSP] 178 178 add xSP, xCB * 2 … … 260 260 .vmxstart_invalid_vmcs_ptr: 261 261 ; Restore base and limit of the IDTR & GDTR 262 %if def VMX_SKIP_GDTR_IDTR262 %ifndef VMX_SKIP_GDTR_IDTR 263 263 lidt [xSP] 264 264 add xSP, xCB * 2 … … 299 299 .vmxstart_start_failed: 300 300 ; Restore base and limit of the IDTR & GDTR. 301 %if def VMX_SKIP_GDTR_IDTR301 %ifndef VMX_SKIP_GDTR_IDTR 302 302 lidt [xSP] 303 303 add xSP, xCB * 2 … … 438 438 439 439 ; VT-x only saves the base of the GDTR & IDTR and resets the limit to 0xffff; we must restore the limit correctly! 440 %if def VMX_SKIP_GDTR_IDTR440 %ifndef VMX_SKIP_GDTR_IDTR 441 441 sub xSP, xCB * 2 442 442 sgdt [xSP] … … 499 499 500 500 ; Restore base and limit of the IDTR & GDTR 501 %if def VMX_SKIP_GDTR_IDTR501 %ifndef VMX_SKIP_GDTR_IDTR 502 502 lidt [xSP] 503 503 add xSP, xCB * 2 … … 602 602 .vmxstart64_invalid_vmcs_ptr: 603 603 ; Restore base and limit of the IDTR & GDTR. 604 %if def VMX_SKIP_GDTR_IDTR604 %ifndef VMX_SKIP_GDTR_IDTR 605 605 lidt [xSP] 606 606 add xSP, xCB * 2 … … 654 654 .vmxstart64_start_failed: 655 655 ; Restore base and limit of the IDTR & GDTR. 656 %if def VMX_SKIP_GDTR_IDTR656 %ifndef VMX_SKIP_GDTR_IDTR 657 657 lidt [xSP] 658 658 add xSP, xCB * 2
Note:
See TracChangeset
for help on using the changeset viewer.