VirtualBox

Changeset 81162 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 8, 2019 4:45:46 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133796
Message:

IOM: New MMIO management code - work in progress. bugref:9218

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

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/gvm.h

    r80943 r81162  
    210210        struct IOMR0PERVM   s;
    211211#endif
    212         uint8_t             padding[256];
     212        uint8_t             padding[512];
    213213    } iomr0;
    214214
    215215    /** Padding so aCpus starts on a page boundrary.  */
    216216#ifdef VBOX_WITH_NEM_R0
    217     uint8_t         abPadding2[4096 - 64 - 256 - 512 - 256 - 64 - 1792 - 256 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];
    218 #else
    219     uint8_t         abPadding2[4096 - 64 - 256 - 512       - 64 - 1792 - 256 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];
     217    uint8_t         abPadding2[4096 - 64 - 256 - 512 - 256 - 64 - 1792 - 512 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];
     218#else
     219    uint8_t         abPadding2[4096 - 64 - 256 - 512       - 64 - 1792 - 512 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];
    220220#endif
    221221
     
    226226    GVMCPU          aCpus[1];
    227227} GVM;
     228#if 0
    228229#if RT_GNUC_PREREQ(4, 6) && defined(__cplusplus)
    229230# pragma GCC diagnostic push
     
    245246# pragma GCC diagnostic pop
    246247#endif
     248#endif
    247249
    248250/** The GVM::u32Magic value (Wayne Shorter). */
  • trunk/include/VBox/vmm/vm.h

    r81153 r81162  
    13201320        struct IOM s;
    13211321#endif
    1322         uint8_t     padding[960];       /* multiple of 64 */
     1322        uint8_t     padding[1152];      /* multiple of 64 */
    13231323    } iom;
    13241324
     
    14321432
    14331433    /** Padding for aligning the structure size on a page boundrary. */
    1434     uint8_t         abAlignment2[2968 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
     1434    uint8_t         abAlignment2[2776 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
    14351435
    14361436    /* ---- end small stuff ---- */
  • trunk/include/VBox/vmm/vm.mac

    r81153 r81162  
    127127    .mm                     resb 192
    128128    .pdm                    resb 1920
    129     .iom                    resb 960
     129    .iom                    resb 1152
    130130    .em                     resb 256
    131131    .nem                    resb 128
     
    138138    .cfgm                   resb 8
    139139
    140     .abAlignment2           resb 2968 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT
     140    .abAlignment2           resb 2776 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT
    141141
    142142    alignb RTR0PTR_CB * VMM_MAX_CPU_COUNT ; ASSUMES VMM_MAX_CPU_COUNT is a power of two.
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