Changeset 34986 in vbox
- Timestamp:
- Dec 13, 2010 10:38:20 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMSwitcher/AMD64andLegacy.mac (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher/AMD64andLegacy.mac
r33935 r34986 98 98 call NAME(vmmR0HostToGuestAsm) 99 99 100 %ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI 101 ; Unblock Local APIC NMI vectors 102 ; Do this here to ensure the host CS is already restored 103 mov ecx, [rdx + CPUM.fApicDisVectors] 104 mov r8, [rdx + CPUM.pvApicBase] 105 shr ecx, 1 106 jnc gth64_nolint0 107 and dword [r8 + APIC_REG_LVT_LINT0], ~APIC_REG_LVT_MASKED 108 gth64_nolint0: 109 shr ecx, 1 110 jnc gth64_nolint1 111 and dword [r8 + APIC_REG_LVT_LINT1], ~APIC_REG_LVT_MASKED 112 gth64_nolint1: 113 shr ecx, 1 114 jnc gth64_nopc 115 and dword [r8 + APIC_REG_LVT_PC], ~APIC_REG_LVT_MASKED 116 gth64_nopc: 117 shr ecx, 1 118 jnc gth64_notherm 119 and dword [r8 + APIC_REG_LVT_THMR], ~APIC_REG_LVT_MASKED 120 gth64_notherm: 121 %endif 122 100 123 %ifdef VBOX_WITH_STATISTICS 101 124 ; … … 119 142 ; 120 143 BEGINPROC vmmR0HostToGuest 121 %ifdef DEBUG_STUFF144 %ifdef DEBUG_STUFF 122 145 COM32_S_NEWLINE 123 146 COM32_S_CHAR '^' 124 %endif147 %endif 125 148 126 149 %ifdef VBOX_WITH_STATISTICS … … 161 184 mov edx, ss 162 185 mov ss, edx 186 187 %ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI 188 Missing implementation! 189 %endif 190 163 191 164 192 %ifdef VBOX_WITH_STATISTICS … … 1104 1132 mov rdx, rbx 1105 1133 1106 %ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI1107 ;Unblock Local APIC NMI vectors1108 mov ecx, [rdx + CPUM.fApicDisVectors]1109 mov rbx, [rdx + CPUM.pvApicBase]1110 shr ecx, 11111 jnc gth_nolint01112 and dword [rbx + APIC_REG_LVT_LINT0], ~APIC_REG_LVT_MASKED1113 gth_nolint0:1114 shr ecx, 11115 jnc gth_nolint11116 and dword [rbx + APIC_REG_LVT_LINT1], ~APIC_REG_LVT_MASKED1117 gth_nolint1:1118 shr ecx, 11119 jnc gth_nopc1120 and dword [rbx + APIC_REG_LVT_PC], ~APIC_REG_LVT_MASKED1121 gth_nopc:1122 shr ecx, 11123 jnc gth_notherm1124 and dword [rbx + APIC_REG_LVT_THMR], ~APIC_REG_LVT_MASKED1125 gth_notherm:1126 %endif1127 1128 1134 ; restore general registers. 1129 1135 mov eax, edi ; restore return code. eax = return code !!
Note:
See TracChangeset
for help on using the changeset viewer.

