VirtualBox

Changeset 93635 in vbox for trunk/include/VBox/vmm/vm.h


Ignore:
Timestamp:
Feb 7, 2022 10:43:45 AM (3 years ago)
Author:
vboxsync
Message:

VMM/PGM,VMM/PDM,VGA: Consolidate the user parameters of the physical access handlers into a single uint64_t value that shouldn't be a pointer, at least not for ring-0 callbacks. Special hack for devices where it's translated from a ring-0 device instance index into a current context PPDMDEVINS (not really tested yet). bugref:10094

File:
1 edited

Legend:

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

    r93628 r93635  
    13231323        struct PDM s;
    13241324#endif
    1325         uint8_t     padding[20864];     /* multiple of 64 */
     1325        uint8_t     padding[22400];     /* multiple of 64 */
    13261326    } pdm;
    13271327
     
    14581458
    14591459    /** Padding for aligning the structure size on a page boundrary. */
    1460     uint8_t         abAlignment2[10456 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
     1460    uint8_t         abAlignment2[8920 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
    14611461
    14621462    /* ---- end small stuff ---- */
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