VirtualBox

Ignore:
Timestamp:
Jun 19, 2008 11:09:21 AM (16 years ago)
Author:
vboxsync
Message:

FS & GS base msr fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm

    r9593 r9814  
    459459    LOADGUESTMSR MSR_K8_KERNEL_GS_BASE, CPUMCTX.msrKERNELGSBASE
    460460
     461    ; Load the guest MSRs for FS & GS base (saved in MYPUSHSEGS)
     462    mov     rcx, MSR_K8_FS_BASE
     463    mov     rax, qword [xSI + CPUMCTX.msrFSBASE]
     464    wrmsr
     465
     466    mov     rcx, MSR_K8_GS_BASE
     467    mov     rax, qword [xSI + CPUMCTX.msrGSBASE]
     468    wrmsr
     469
    461470    ; Save the pCtx pointer
    462471    push    xSI
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