VirtualBox

Changeset 14653 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 26, 2008 4:54:05 PM (16 years ago)
Author:
vboxsync
Message:

Switcher updates

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher.cpp

    r14597 r14653  
    862862{
    863863    vmmR3SwitcherGenericRelocate(pVM, pSwitcher, R0PtrCode, pu8CodeR3, GCPtrCode, u32IDCode,
    864                                  SELMGetHyperCS(pVM), SELMGetHyperDS(pVM), SELMGetHyperTSS(pVM), SELMGetHyperGDT(pVM), 0);
     864                                 SELMGetHyperCS(pVM), SELMGetHyperDS(pVM), SELMGetHyperTSS(pVM), SELMGetHyperGDT(pVM), SELMGetHyperCS64(pVM));
    865865}
    866866
  • trunk/src/VBox/VMM/VMMSwitcher/32BitToAMD64.asm

    r14301 r14653  
    168168    mov     eax, cr0
    169169    mov     [edx + CPUMCPU.Host.cr0], eax
    170     ;mov     eax, cr2                   ; assume host os don't stuff things in cr2. (safe)
    171     ;mov     [edx + CPUMCPU.Host.cr2], eax
     170    ;Skip cr2; assume host os don't stuff things in cr2. (safe)
    172171    mov     eax, cr3
    173172    mov     [edx + CPUMCPU.Host.cr3], 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