VirtualBox

Changeset 82031 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Nov 20, 2019 4:11:16 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134835
Message:

APIC: Converted the timer pointers to timer handles. This requires PPDMDEVINS to be accessible when called directly from the VMM, so adding pointers to the APIC specific GVM and VM structures. bugref:9218

File:
1 edited

Legend:

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

    r81162 r82031  
    213213    } iomr0;
    214214
     215    union
     216    {
     217#if defined(VMM_INCLUDED_SRC_include_APICInternal_h) && defined(IN_RING0)
     218        struct APICR0PERVM  s;
     219#endif
     220        uint8_t             padding[64];
     221    } apicr0;
     222
    215223    /** Padding so aCpus starts on a page boundrary.  */
    216224#ifdef VBOX_WITH_NEM_R0
    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];
     225    uint8_t         abPadding2[4096 - 64 - 256 - 512 - 256 - 64 - 1792 - 512 - 64 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];
     226#else
     227    uint8_t         abPadding2[4096 - 64 - 256 - 512       - 64 - 1792 - 512 - 64 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];
    220228#endif
    221229
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