- Timestamp:
- Dec 12, 2008 3:43:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/HWACCMGCA.asm
r15371 r15378 164 164 push xBX 165 165 %endif 166 167 ; Signal that we're in 64 bits mode now! 168 mov eax, VMX_VMCS_CTRL_EXIT_CONTROLS 169 vmread rdx, rax 170 or rdx, VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_AMD64 171 vmwrite rax, rdx 172 166 173 167 ; Save the host state that's relevant in the temporary 64 bits mode 174 168 mov rdx, cr0 … … 320 314 321 315 .vmstart64_end: 322 ; Signal that we're going back to 32 bits mode!323 mov ebx, VMX_VMCS_CTRL_EXIT_CONTROLS324 vmread rdx, rbx325 and rdx, ~VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_AMD64326 vmwrite rbx, rdx327 328 316 %ifdef DEBUG 329 317 mov rax, [rsp] ; pVMCSPhys
Note:
See TracChangeset
for help on using the changeset viewer.