VirtualBox

Changeset 9046 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 21, 2008 11:47:23 PM (17 years ago)
Author:
vboxsync
Message:

Experimental workaround for the non-working debuggers and panicing guest - disabled. comment in VBOX_WITH_DR6_EXPERIMENT in order to enable it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm

    r8839 r9046  
    4545%endif
    4646
     47;; This is too risky wrt. stability, performance and correctness.
     48;%define VBOX_WITH_DR6_EXPERIMENT 1
    4749
    4850;; @def MYPUSHAD
     
    228230    sidt    [xSP]
    229231
     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
    230238    ; Restore CR2
    231239    mov     ebx, [xSI + CPUMCTX.cr2]
     
    274282%else
    275283    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
    276290%endif
    277291
     
    407421    sidt    [xSP]
    408422
     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
    409429    ; Restore CR2
    410430    mov     xBX, [xSI + CPUMCTX.cr2]
     
    453473%else
    454474    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
    455481%endif
    456482
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette