VirtualBox

Changeset 91281 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Sep 16, 2021 1:32:18 PM (3 years ago)
Author:
vboxsync
Message:

VMM/CPUM,++: Moved the guest's extended state (XState) from the hyper heap and into CPUMCTX. bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.mac

    r91271 r91281  
    213213    .Guest.msrKERNELGSBASE    resb    8
    214214    .Guest.uMsrPadding0       resb    8
     215
     216    alignb 8
     217    .Guest.fExtrn             resq    1
     218
     219    alignb 32
     220    .Guest.aPaePdpes          resq    4
     221
    215222    alignb 8
    216223    .Guest.aXcr               resq    2
    217224    .Guest.fXStateMask        resq    1
    218     .Guest.pXStateR0      RTR0PTR_RES 1
    219     alignb 8
    220     .Guest.pXStateR3      RTR3PTR_RES 1
     225    .Guest.fUsedFpuGuest      resb    1
    221226    alignb 8
    222227    .Guest.aoffXState         resw    64
    223     .Guest.fUsedFpuGuest      resb    1
    224     alignb 8
    225     .Guest.fExtrn             resq    1
    226     .Guest.aPaePdpes          resq    4
    227     alignb 8
     228    alignb 256
     229    .Guest.abXState           resb    0x4000-0x300
     230    .Guest.XState             EQU     .Guest.abXState
     231
     232    alignb 4096
    228233    .Guest.hwvirt.svm.uMsrHSavePa            resq         1
    229234    .Guest.hwvirt.svm.GCPhysVmcb             resq         1
     
    606611        ;
    607612 %ifdef IN_RING0
    608         mov     pXState, [pCpumCpu + CPUMCPU.Guest.pXStateR0]
     613        lea     pXState, [pCpumCpu + CPUMCPU.Guest.XState]
    609614 %else
    610615  %error "Unsupported context!"
     
    675680        ;
    676681 %ifdef IN_RING0
    677         mov     pXState, [pCpumCpu + CPUMCPU.Guest.pXStateR0]
     682        lea     pXState, [pCpumCpu + CPUMCPU.Guest.XState]
    678683 %else
    679684  %error "Unsupported context!"
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