VirtualBox

Changeset 89780 in vbox for trunk/src


Ignore:
Timestamp:
Jun 18, 2021 2:10:10 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145233
Message:

HMR0A.asm: Fixed reading from FS, GS base when not using rdfsbase, rdgsbase instructions.

File:
1 edited

Legend:

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

    r87755 r89780  
    310310        shl     rdx, 32
    311311        or      rdx, rax
    312         mov     [r8 + VMXRESTOREHOST.uHostFSBase], rax
     312        mov     [r8 + VMXRESTOREHOST.uHostFSBase], rdx
    313313
    314314        mov     ecx, MSR_K8_GS_BASE
     
    316316        shl     rdx, 32
    317317        or      rdx, rax
    318         mov     [r8 + VMXRESTOREHOST.uHostGSBase], rax
     318        mov     [r8 + VMXRESTOREHOST.uHostGSBase], rdx
    319319
    320320%ifdef ASM_CALL64_MSC
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