VirtualBox

Changeset 63682 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 2, 2016 9:22:00 AM (8 years ago)
Author:
vboxsync
Message:

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

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

Legend:

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

    r62476 r63682  
    336336VMMR3_INT_DECL(int)  IOMR3IOPortDeregister(PVM pVM, PPDMDEVINS pDevIns, RTIOPORT PortStart, RTUINT cPorts);
    337337
    338 VMMR3_INT_DECL(int)  IOMR3MmioRegisterR3(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTHCPTR pvUser,
     338VMMR3_INT_DECL(int)  IOMR3MmioRegisterR3(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange, RTHCPTR pvUser,
    339339                                         R3PTRTYPE(PFNIOMMMIOWRITE) pfnWriteCallback,
    340340                                         R3PTRTYPE(PFNIOMMMIOREAD)  pfnReadCallback,
    341341                                         R3PTRTYPE(PFNIOMMMIOFILL)  pfnFillCallback,
    342342                                         uint32_t fFlags, const char *pszDesc);
    343 VMMR3_INT_DECL(int)  IOMR3MmioRegisterR0(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTR0PTR pvUser,
     343VMMR3_INT_DECL(int)  IOMR3MmioRegisterR0(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange, RTR0PTR pvUser,
    344344                                         R0PTRTYPE(PFNIOMMMIOWRITE) pfnWriteCallback,
    345345                                         R0PTRTYPE(PFNIOMMMIOREAD)  pfnReadCallback,
    346346                                         R0PTRTYPE(PFNIOMMMIOFILL)  pfnFillCallback);
    347 VMMR3_INT_DECL(int)  IOMR3MmioRegisterRC(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTGCPTR pvUser,
     347VMMR3_INT_DECL(int)  IOMR3MmioRegisterRC(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange, RTGCPTR pvUser,
    348348                                         RCPTRTYPE(PFNIOMMMIOWRITE) pfnWriteCallback,
    349349                                         RCPTRTYPE(PFNIOMMMIOREAD)  pfnReadCallback,
    350350                                         RCPTRTYPE(PFNIOMMMIOFILL)  pfnFillCallback);
    351 VMMR3_INT_DECL(int)  IOMR3MmioDeregister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange);
     351VMMR3_INT_DECL(int)  IOMR3MmioDeregister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange);
    352352VMMR3_INT_DECL(VBOXSTRICTRC) IOMR3ProcessForceFlag(PVM pVM, PVMCPU pVCpu, VBOXSTRICTRC rcStrict);
    353353
  • trunk/include/VBox/vmm/pdmdev.h

    r61776 r63682  
    24402440     *          registered callback methods.
    24412441     */
    2442     DECLR3CALLBACKMEMBER(int, pfnMMIORegister,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTHCPTR pvUser,
     2442    DECLR3CALLBACKMEMBER(int, pfnMMIORegister,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange, RTHCPTR pvUser,
    24432443                                               PFNIOMMMIOWRITE pfnWrite, PFNIOMMMIOREAD pfnRead, PFNIOMMMIOFILL pfnFill,
    24442444                                               uint32_t fFlags, const char *pszDesc));
     
    24622462     *          registered callback methods.
    24632463     */
    2464     DECLR3CALLBACKMEMBER(int, pfnMMIORegisterRC,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTRCPTR pvUser,
     2464    DECLR3CALLBACKMEMBER(int, pfnMMIORegisterRC,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange, RTRCPTR pvUser,
    24652465                                                 const char *pszWrite, const char *pszRead, const char *pszFill));
    24662466
     
    24832483     *          registered callback methods.
    24842484     */
    2485     DECLR3CALLBACKMEMBER(int, pfnMMIORegisterR0,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTR0PTR pvUser,
     2485    DECLR3CALLBACKMEMBER(int, pfnMMIORegisterR0,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange, RTR0PTR pvUser,
    24862486                                                 const char *pszWrite, const char *pszRead, const char *pszFill));
    24872487
     
    24962496     * @param   cbRange             The size of the range (in bytes).
    24972497     */
    2498     DECLR3CALLBACKMEMBER(int, pfnMMIODeregister,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange));
     2498    DECLR3CALLBACKMEMBER(int, pfnMMIODeregister,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTGCPHYS cbRange));
    24992499
    25002500    /**
     
    25192519     * @thread  EMT.
    25202520     */
    2521     DECLR3CALLBACKMEMBER(int, pfnMMIO2Register,(PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS cb, uint32_t fFlags, void **ppv, const char *pszDesc));
     2521    DECLR3CALLBACKMEMBER(int, pfnMMIO2Register,(PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS cb, uint32_t fFlags,
     2522                                                void **ppv, const char *pszDesc));
    25222523
    25232524    /**
     
    38143815
    38153816/** Current PDMDEVHLPR3 version number. */
    3816 #define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 16, 0)
     3817#define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 17, 0)
    38173818
    38183819
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