VirtualBox

Changeset 1132 in vbox


Ignore:
Timestamp:
Mar 1, 2007 1:18:43 PM (18 years ago)
Author:
vboxsync
Message:

Backed out previous changeset. Stack is writable of course.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlersA.asm

    r1131 r1132  
    430430%endif
    431431
    432     ; restore guest state and start executing again.
    433     test    dword [esp + CPUMCTXCORE.eflags], X86_EFL_VM
    434     jnz     gt_V86Return
    435 
    436432    ; enable WP
    437433    mov     eax, cr0
    438434    or      eax, X86_CR0_WRITE_PROTECT
    439435    mov     cr0, eax
     436
     437    ; restore guest state and start executing again.
     438    test    dword [esp + CPUMCTXCORE.eflags], X86_EFL_VM
     439    jnz     gt_V86Return
    440440
    441441    mov     ecx, [esp + CPUMCTXCORE.ecx]
     
    511511    mov     eax, [esp + CPUMCTXCORE.eflags]
    512512    mov     [esp + 10h + ESPOFF], eax           ; eflags
    513 
    514     ; enable WP
    515     mov     eax, cr0
    516     or      eax, X86_CR0_WRITE_PROTECT
    517     mov     cr0, eax
    518513
    519514    ; finally restore our scratch register eax
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