VirtualBox

Changeset 4593 in vbox


Ignore:
Timestamp:
Sep 7, 2007 8:01:32 AM (17 years ago)
Author:
vboxsync
Message:

Don't modify the X86_CR4_VMXE flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac

    r4071 r4593  
    180180    ; Also disable WP. (eax==cr4 now)
    181181    ; Note! X86_CR4_PSE and X86_CR4_PAE are important if the host thinks so :-)
    182     ;
    183     and     eax, X86_CR4_MCE | X86_CR4_PSE | X86_CR4_PAE
     182    ; Note! X86_CR4_VMXE must not be touched in case the CPU is in vmx root mode
     183    ;
     184    and     eax, X86_CR4_MCE | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_VMXE
    184185    mov     ecx, [edx + CPUM.Guest.cr4]
    185186    ;; @todo Switcher cleanup: Determin base CR4 during CPUMR0Init / VMMR3SelectSwitcher putting it
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