VirtualBox

Changeset 63682 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Sep 2, 2016 9:22:00 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110440
Message:

PDM,IOM: MMIO range length is now a RTGCPHYS instead of uint32_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IOMInternal.h

    r63226 r63682  
    5252    RTGCPHYS                    GCPhys;
    5353    /** Size of the range. */
    54     uint32_t                    cb;
     54    RTGCPHYS                    cb;
    5555    /** The reference counter. */
    5656    uint32_t volatile           cRefs;
     57    /** Flags, see IOMMMIO_FLAGS_XXX. */
     58    uint32_t                    fFlags;
    5759
    5860    /** Pointer to user argument - R0. */
     
    6769    R0PTRTYPE(PFNIOMMMIOFILL)   pfnFillCallbackR0;
    6870
    69     /** Flags, see IOMMMIO_FLAGS_XXX. */ /* (Placed here for alignment reasons.) */
    70     uint32_t                    fFlags;
     71    /** Pointer to user argument - R3. */
     72    RTR3PTR                     pvUserR3;
     73    /** Pointer to device instance - R3. */
     74    PPDMDEVINSR3                pDevInsR3;
     75    /** Pointer to write callback function - R3. */
     76    R3PTRTYPE(PFNIOMMMIOWRITE)  pfnWriteCallbackR3;
     77    /** Pointer to read callback function - R3. */
     78    R3PTRTYPE(PFNIOMMMIOREAD)   pfnReadCallbackR3;
     79    /** Pointer to fill (memset) callback function - R3. */
     80    R3PTRTYPE(PFNIOMMMIOFILL)   pfnFillCallbackR3;
     81
     82    /** Description / Name. For easing debugging. */
     83    R3PTRTYPE(const char *)     pszDesc;
    7184
    7285    /** Pointer to user argument - RC. */
     
    8093    /** Pointer to fill (memset) callback function - RC. */
    8194    RCPTRTYPE(PFNIOMMMIOFILL)   pfnFillCallbackRC;
    82 
    83     /** Pointer to user argument - R3. */
    84     RTR3PTR                     pvUserR3;
    85     /** Pointer to device instance - R3. */
    86     PPDMDEVINSR3                pDevInsR3;
    87     /** Pointer to write callback function - R3. */
    88     R3PTRTYPE(PFNIOMMMIOWRITE)  pfnWriteCallbackR3;
    89     /** Pointer to read callback function - R3. */
    90     R3PTRTYPE(PFNIOMMMIOREAD)   pfnReadCallbackR3;
    91     /** Pointer to fill (memset) callback function - R3. */
    92     R3PTRTYPE(PFNIOMMMIOFILL)   pfnFillCallbackR3;
    93 
    94     /** Description / Name. For easing debugging. */
    95     R3PTRTYPE(const char *)     pszDesc;
     95#if HC_ARCH_BITS == 64
     96    /** Padding structure length to multiple of 8 bytes. */
     97    RTRCPTR                     RCPtrPadding;
     98#endif
    9699} IOMMMIORANGE;
    97100/** Pointer to a MMIO range descriptor, R3 version. */
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