Changeset 37969 in vbox for trunk/src/VBox
- Timestamp:
- Jul 14, 2011 2:36:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher/AMD64andLegacy.mac
r37955 r37969 1102 1102 ; the fpu stuff must be done before we restore cr0. 1103 1103 mov rcx, [rdx + r8 + CPUMCPU.Host.cr4] 1104 test rcx, X86_CR4_PCIDE 1105 jz gth_no_pcide 1106 mov rax, [rdx + r8 + CPUMCPU.Host.cr3] 1107 and rax, ~0xfff ; clear the PCID in cr3 1108 mov cr3, rax 1104 1109 mov cr4, rcx 1110 mov rax, [rdx + r8 + CPUMCPU.Host.cr3] 1111 mov cr3, rax ; reload it with the right PCID. 1112 jmp gth_restored_cr4 1113 gth_no_pcide: 1114 mov cr4, rcx 1115 gth_restored_cr4: 1105 1116 mov rcx, [rdx + r8 + CPUMCPU.Host.cr0] 1106 1117 mov cr0, rcx
Note:
See TracChangeset
for help on using the changeset viewer.