VirtualBox

Changeset 22886 in vbox for trunk/include


Ignore:
Timestamp:
Sep 9, 2009 10:13:16 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52142
Message:

vm.h: 64-bit host realignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vm.h

    r22885 r22886  
    125125        struct CPUMCPU      s;
    126126#endif
    127         char                padding[4096];      /* multiple of 64 */
     127        char                padding[3456];      /* multiple of 64 */
    128128    } cpum;
    129129
     
    152152        struct EMCPU        s;
    153153#endif
    154         char                padding[1280];      /* multiple of 64 */
     154        char                padding[1408];      /* multiple of 64 */
    155155    } em;
    156156
     
    211211
    212212    /** Align at page boundrary. */
    213     uint8_t                 abReserved[HC_ARCH_BITS == 32 ? 448 : 64];
     213    uint8_t                 abReserved[HC_ARCH_BITS == 32 ? 448 : 960];
    214214} VMCPU;
    215215
     
    839839        struct PGM  s;
    840840#endif
    841         uint8_t     padding[5184];      /* multiple of 64 */
     841        uint8_t     padding[6080];      /* multiple of 64 */
    842842    } pgm;
    843843
     
    884884        struct PDM s;
    885885#endif
    886         uint8_t     padding[1024];      /* multiple of 64 */
     886        uint8_t     padding[1536];      /* multiple of 64 */
    887887    } pdm;
    888888
     
    893893        struct IOM s;
    894894#endif
    895         uint8_t     padding[768];       /* multiple of 64 */
     895        uint8_t     padding[832];       /* multiple of 64 */
    896896    } iom;
    897897
     
    911911        struct CSAM s;
    912912#endif
    913         uint8_t     padding[1024];      /* multiple of 64 */
     913        uint8_t     padding[1088];      /* multiple of 64 */
    914914    } csam;
    915915
     
    947947        struct SSM  s;
    948948#endif
    949         uint8_t     padding[64];        /* multiple of 64 */
     949        uint8_t     padding[128];        /* multiple of 64 */
    950950    } ssm;
    951951
     
    993993
    994994    /** Padding for aligning the cpu array on a 64 byte boundrary. */
    995     uint8_t         abReserved2[8 + (HC_ARCH_BITS == 32 ? 3712 : 0)];
     995    uint8_t         abReserved2[8 + (HC_ARCH_BITS == 32 ? 3712 : 2112)];
    996996
    997997    /* ---- end small stuff ---- */
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