Changeset 9046 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- May 21, 2008 11:47:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm
r8839 r9046 45 45 %endif 46 46 47 ;; This is too risky wrt. stability, performance and correctness. 48 ;%define VBOX_WITH_DR6_EXPERIMENT 1 47 49 48 50 ;; @def MYPUSHAD … … 228 230 sidt [xSP] 229 231 232 %ifdef VBOX_WITH_DR6_EXPERIMENT 233 ; Restore DR6 - experiment, not safe! 234 mov xBX, [xSI + CPUMCTX.dr6] 235 mov dr6, xBX 236 %endif 237 230 238 ; Restore CR2 231 239 mov ebx, [xSI + CPUMCTX.cr2] … … 274 282 %else 275 283 pop dword [ss:xDI + CPUMCTX.edi] ; the guest edi we pushed above 284 %endif 285 286 %ifdef VBOX_WITH_DR6_EXPERIMENT 287 ; Save DR6 - experiment, not safe! 288 mov xAX, dr6 289 mov [ss:xDI + CPUMCTX.dr6], xAX 276 290 %endif 277 291 … … 407 421 sidt [xSP] 408 422 423 %ifdef VBOX_WITH_DR6_EXPERIMENT 424 ; Restore DR6 - experiment, not safe! 425 mov xBX, [xSI + CPUMCTX.dr6] 426 mov dr6, xBX 427 %endif 428 409 429 ; Restore CR2 410 430 mov xBX, [xSI + CPUMCTX.cr2] … … 453 473 %else 454 474 pop dword [ss:xDI + CPUMCTX.edi] ; the guest edi we pushed above 475 %endif 476 477 %ifdef VBOX_WITH_DR6_EXPERIMENT 478 ; Save DR6 - experiment, not safe! 479 mov xAX, dr6 480 mov [ss:xDI + CPUMCTX.dr6], xAX 455 481 %endif 456 482
Note:
See TracChangeset
for help on using the changeset viewer.