VirtualBox

Changeset 54898 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 22, 2015 11:47:07 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99113
Message:

CPUMCTX,CPUMHOST: Replaced the fpu (X86FXSAVE) member with an XState (X86XSAVEAREA) member.

Location:
trunk/include/VBox/vmm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.mac

    r54738 r54898  
    133133
    134134
     135%define XSTATE_SIZE             8192
     136
    135137struc CPUMCTX
    136     .fpu                resb    512
     138    .XState             resb    XSTATE_SIZE
    137139    .eax                resq    1
    138140    .ecx                resq    1
  • trunk/include/VBox/vmm/cpumctx.h

    r54897 r54898  
    250250     * @todo This doesn't have to be in X86FXSTATE on CPUs without fxsr - we need a type for the
    251251     *       actual format or convert it (waste of time).  */
    252     X86FXSTATE      fpu;
     252    X86XSAVEAREA        XState;
    253253
    254254    /** CPUMCTXCORE Part.
  • trunk/include/VBox/vmm/vm.h

    r54897 r54898  
    231231    uint8_t                 abAlignment2[3584];
    232232
     233    /** PGM part. */
     234    union
     235    {
     236#ifdef ___PGMInternal_h
     237        struct PGMCPU       s;
     238#endif
     239        uint8_t             padding[4096];      /* multiple of 4096 */
     240    } pgm;
     241
    233242    /** CPUM part. */
    234243    union
     
    237246        struct CPUMCPU      s;
    238247#endif
    239         uint8_t             padding[4096];      /* multiple of 4096 */
     248        uint8_t             padding[28672];      /* multiple of 4096 */
    240249    } cpum;
    241 
    242     /** PGM part. */
    243     union
    244     {
    245 #ifdef ___PGMInternal_h
    246         struct PGMCPU       s;
    247 #endif
    248         uint8_t             padding[4096];      /* multiple of 4096 */
    249     } pgm;
    250250
    251251} VMCPU;
  • trunk/include/VBox/vmm/vm.mac

    r54897 r54898  
    146146
    147147    alignb 4096
    148     .cpum                   resb 4096
    149148    .pgm                    resb 4096
     149    alignb 4096
     150    .cpum                   resb 28672
     151    alignb 4096
    150152endstruc
    151153
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