VirtualBox

Changeset 464 in vbox for trunk/src/VBox/VMM/VMMSwitcher


Ignore:
Timestamp:
Jan 31, 2007 2:58:15 PM (18 years ago)
Author:
vboxsync
Message:

Renamed CR4 masks

Location:
trunk/src/VBox/VMM/VMMSwitcher
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher/AMD64ToPAE.asm

    r414 r464  
    230230
    231231    ;
    232     ; CR4.Mask and CR4.OSFSXR are set in CPUMR3Init based on the presence of
     232    ; CR4.AndMask and CR4.OrMask are set in CPUMR3Init based on the presence of
    233233    ; FXSAVE support on the host CPU
    234234    ;
    235     and     ecx, [rdx + CPUM.CR4.Mask]
     235    and     ecx, [rdx + CPUM.CR4.AndMask]
    236236    or      eax, ecx
    237     or      eax, [rdx + CPUM.CR4.OSFSXR]
     237    or      eax, [rdx + CPUM.CR4.OrMask]
    238238    mov     cr4, rax
    239239    DEBUG_CHAR('c')                     ; trashes esi
  • trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac

    r19 r464  
    193193
    194194    ;
    195     ; CR4.Mask and CR4.OSFSXR are set in CPUMR3Init based on the presence of
     195    ; CR4.AndMask and CR4.OrMask are set in CPUMR3Init based on the presence of
    196196    ; FXSAVE support on the host CPU
    197197    ;
    198     and     ecx, [edx + CPUM.CR4.Mask]
     198    and     ecx, [edx + CPUM.CR4.AndMask]
    199199    or      eax, ecx
    200     or      eax, [edx + CPUM.CR4.OSFSXR]
     200    or      eax, [edx + CPUM.CR4.OrMask]
    201201    mov     cr4, eax
    202202
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