Changeset 77299 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Feb 13, 2019 1:57:14 PM (6 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r77253 r77299 1890 1890 1891 1891 /** Current PDMDEVHLPR3 version number. */ 1892 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 22, 1)1892 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 22, 2) 1893 1893 1894 1894 /** … … 3380 3380 DECLR3CALLBACKMEMBER(void, pfnPhysBulkReleasePageMappingLocks,(PPDMDEVINS pDevIns, uint32_t cPages, PPGMPAGEMAPLOCK paLocks)); 3381 3381 3382 /** 3383 * Changes the number of an MMIO2 or pre-registered MMIO region. 3384 * 3385 * This should only be used to deal with saved state problems, so there is no 3386 * convenience inline wrapper for this method. 3387 * 3388 * @returns VBox status code. 3389 * @param pDevIns The device instance. 3390 * @param pPciDev The PCI device the region is associated with, or 3391 * NULL if not associated with any. 3392 * @param iRegion The region. 3393 * @param iNewRegion The new region index. 3394 * 3395 * @sa @bugref{9359} 3396 */ 3397 DECLR3CALLBACKMEMBER(int, pfnMMIOExChangeRegionNo,(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t iRegion, 3398 uint32_t iNewRegion)); 3399 3382 3400 /** Space reserved for future members. 3383 3401 * @{ */ … … 3388 3406 DECLR3CALLBACKMEMBER(void, pfnReserved5,(void)); 3389 3407 DECLR3CALLBACKMEMBER(void, pfnReserved6,(void)); 3390 DECLR3CALLBACKMEMBER(void, pfnReserved7,(void));3408 /*DECLR3CALLBACKMEMBER(void, pfnReserved7,(void)); */ 3391 3409 /*DECLR3CALLBACKMEMBER(void, pfnReserved8,(void)); */ 3392 3410 /*DECLR3CALLBACKMEMBER(void, pfnReserved9,(void)); */ -
trunk/include/VBox/vmm/pdmpcidev.h
r76585 r77299 122 122 typedef FNPCIIOREGIONOLDSETTER *PFNPCIIOREGIONOLDSETTER; 123 123 124 /** 125 * Swaps two PCI I/O regions from within a PDMPCIDEV::pfnRegionLoadChangeHookR3 126 * callback. 127 * 128 * @returns VBox status code. 129 * @param pPciDev Pointer to the PCI device. 130 * @param iRegion The region number. 131 * @param iOtherRegion The number of the region swap with. 132 * @sa @bugref{9359} 133 */ 134 typedef DECLCALLBACK(int) FNPCIIOREGIONSWAP(PPDMPCIDEV pPciDev, uint32_t iRegion, uint32_t iOtherRegion); 135 /** Pointer to a FNPCIIOREGIONSWAP() function. */ 136 typedef FNPCIIOREGIONSWAP *PFNPCIIOREGIONSWAP; 124 137 125 138 … … 188 201 * @param pfnOldSetter Callback for setting size and type for call 189 202 * regarding old saved states. NULL otherwise. 203 * @param pfnSwapRegions Used to swaps two regions. The second one must be a 204 * higher number than @a iRegion. NULL if old saved 205 * state. 190 206 */ 191 207 DECLR3CALLBACKMEMBER(int, pfnRegionLoadChangeHookR3,(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t iRegion, 192 208 uint64_t cbRegion, PCIADDRESSSPACE enmType, 193 PFNPCIIOREGIONOLDSETTER pfnOldSetter)); 209 PFNPCIIOREGIONOLDSETTER pfnOldSetter, 210 PFNPCIIOREGIONSWAP pfnSwapRegion)); 194 211 } PDMPCIDEV; 195 212 #ifdef PDMPCIDEVINT_DECLARED -
trunk/include/VBox/vmm/pgm.h
r77241 r77299 842 842 VMMR3_INT_DECL(int) PGMR3PhysMMIO2GetHCPhys(PVM pVM, PPDMDEVINS pDevIns, uint32_t iSubDev, uint32_t iRegion, RTGCPHYS off, PRTHCPHYS pHCPhys); 843 843 VMMR3_INT_DECL(int) PGMR3PhysMMIO2MapKernel(PVM pVM, PPDMDEVINS pDevIns, uint32_t iSubDev, uint32_t iRegion, RTGCPHYS off, RTGCPHYS cb, const char *pszDesc, PRTR0PTR pR0Ptr); 844 VMMR3_INT_DECL(int) PGMR3PhysMMIOExChangeRegionNo(PVM pVM, PPDMDEVINS pDevIns, uint32_t iSubDev, uint32_t iRegion, uint32_t iNewRegion); 845 844 846 845 847 /** @name PGMR3PhysRegisterRom flags.
Note:
See TracChangeset
for help on using the changeset viewer.