VirtualBox

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


Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

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

Legend:

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

    r30164 r33540  
    375375
    376376
    377     ; We're now on an identity mapped pages! in 32-bit compatability mode.
     377    ; We're now on an identity mapped pages! in 32-bit compatibility mode.
    378378BITS 32
    379379ALIGNCODE(16)
     
    897897    DEBUG_CHAR('5')
    898898
    899     ; Jump from compatability mode to 64-bit mode.
     899    ; Jump from compatibility mode to 64-bit mode.
    900900    FIXUP FIX_ID_FAR32_TO_64BIT_MODE, 1, NAME(IDExit64Mode) - NAME(Start)
    901901    jmp     0ffffh:0fffffffeh
     
    962962    add     rax, [rdx + r8 + CPUMCPU.Host.gdtr + 2]         ; eax <- GDTR.address + descriptor offset.
    963963    mov     ecx, [rax + 4]                          ; ecx <- 2nd descriptor dword
    964     mov     ebx, ecx                                ; save orginal value
     964    mov     ebx, ecx                                ; save original value
    965965    and     ecx, ~0200h                             ; clear busy flag (2nd type2 bit)
    966966    mov     [rax + 4], ccx                          ; not using xchg here is paranoia..
     
    10171017
    10181018    ; Control registers.
    1019     ; Would've liked to have these highere up in case of crashes, but
     1019    ; Would've liked to have these higher up in case of crashes, but
    10201020    ; the fpu stuff must be done before we restore cr0.
    10211021    mov     rcx, [rdx + r8 + CPUMCPU.Host.cr4]
  • trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac

    r28800 r33540  
    199199    and     eax, X86_CR4_MCE | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_VMXE
    200200    mov     ecx, [edx + CPUMCPU.Guest.cr4]
    201     ;; @todo Switcher cleanup: Determin base CR4 during CPUMR0Init / VMMR3SelectSwitcher putting it
     201    ;; @todo Switcher cleanup: Determine base CR4 during CPUMR0Init / VMMR3SelectSwitcher putting it
    202202    ;                          in CPUMCPU.Hyper.cr4 (which isn't currently being used). That should
    203203    ;                          simplify this operation a bit (and improve locality of the data).
     
    838838    add     eax, [edx + CPUMCPU.Host.gdtr + 2]         ; eax <- GDTR.address + descriptor offset.
    839839    mov     ecx, [eax + 4]                          ; ecx <- 2nd descriptor dword
    840     mov     ebx, ecx                                ; save orginal value
     840    mov     ebx, ecx                                ; save original value
    841841    and     ecx, ~0200h                             ; clear busy flag (2nd type2 bit)
    842842    mov     [eax + 4], ecx                          ; not using xchg here is paranoia..
     
    919919
    920920    ; Control registers.
    921     ; Would've liked to have these highere up in case of crashes, but
     921    ; Would've liked to have these higher up in case of crashes, but
    922922    ; the fpu stuff must be done before we restore cr0.
    923923    mov     ecx, [edx + CPUMCPU.Host.cr4]
Note: See TracChangeset for help on using the changeset viewer.

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