Changeset 81333 in vbox for trunk/include/VBox/vmm/iom.h
- Timestamp:
- Oct 17, 2019 11:49:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/iom.h
r81197 r81333 155 155 #define IOMMMIO_FLAGS_DBGSTOP_ON_COMPLICATED_WRITE UINT32_C(0x00000200) 156 156 157 /** Pass the absolute physical address (GC) to the callback rather than the 158 * relative one. 159 * @note New-style only, is implicit in old-style interface. */ 160 #define IOMMMIO_FLAGS_ABS UINT32_C(0x00001000) 161 157 162 /** Mask of valid flags. */ 158 #define IOMMMIO_FLAGS_VALID_MASK UINT32_C(0x0000 0373)163 #define IOMMMIO_FLAGS_VALID_MASK UINT32_C(0x00001373) 159 164 /** @} */ 160 165 … … 399 404 * @param pvUser User argument. 400 405 * @param off Offset into the mapping of the read, 401 * or the physical address if IOM _MMIO_F_ABS is active.406 * or the physical address if IOMMMIO_FLAGS_ABS is active. 402 407 * @param pv Where to store the result. 403 408 * @param cb Number of bytes read. … … 416 421 * @param pvUser User argument. 417 422 * @param off Offset into the mapping of the write, 418 * or the physical address if IOM _MMIO_F_ABS is active.423 * or the physical address if IOMMMIO_FLAGS_ABS is active. 419 424 * @param pv Where to fetch the result. 420 425 * @param cb Number of bytes to write. … … 433 438 * @param pvUser User argument. 434 439 * @param off Offset into the mapping of the fill, 435 * or the physical address if IOM _MMIO_F_ABS is active.440 * or the physical address if IOMMMIO_FLAGS_ABS is active. 436 441 * @param u32Item Byte/Word/Dword data to fill. 437 442 * @param cbItem Size of data in u32Item parameter, restricted to 1/2/4 bytes. … … 456 461 VMMDECL(int) IOMMMIOMapMMIOHCPage(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint64_t fPageFlags); 457 462 VMMDECL(int) IOMMMIOResetRegion(PVMCC pVM, RTGCPHYS GCPhys); 458 VMMDECL(bool) IOMIsLockWriteOwner(PVM pVM); 463 464 VMM_INT_DECL(VBOXSTRICTRC) IOMMmioPhysHandler(PVMCC pVM, PVMCPUCC pVCpu, uint32_t uErrorCode, RTGCPHYS GCPhysFault); 465 VMM_INT_DECL(int) IOMMmioMapMmio2Page(PVMCC pVM, PPDMDEVINS pDevIns, IOMMMIOHANDLE hRegion, RTGCPHYS offRegion, 466 uint64_t hMmio2, RTGCPHYS offMmio2, uint64_t fPageFlags); 467 VMM_INT_DECL(int) IOMMmioMapMmioHCPage(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint64_t fPageFlags); 468 VMM_INT_DECL(int) IOMMmioResetRegion(PVMCC pVM, PPDMDEVINS pDevIns, IOMMMIOHANDLE hRegion); 469 459 470 460 471 /** @name IOM_IOPORT_F_XXX - Flags for IOMR3IoPortCreate() and PDMDevHlpIoPortCreateEx(). … … 464 475 /** Valid flags for IOMR3IoPortCreate(). */ 465 476 #define IOM_IOPORT_F_VALID_MASK UINT32_C(0x00000001) 466 /** @} */467 468 /** @name IOM_MMIO_F_XXX - Flags for IOMR3MmioCreate() and PDMDevHlpMmioCreateEx().469 * @{ */470 /** Pass the absolute physical address (GC) to the callback rather than the471 * relative one. */472 #define IOM_MMIO_F_ABS RT_BIT_32(0)473 /** Valid flags for IOMR3IoPortCreate(). */474 #define IOM_MMIO_F_VALID_MASK UINT32_C(0x00000001)475 477 /** @} */ 476 478 … … 574 576 VMMR0_INT_DECL(int) IOMR0IoPortGrowRegistrationTables(PGVM pGVM, uint64_t cMinEntries); 575 577 VMMR0_INT_DECL(int) IOMR0IoPortGrowStatisticsTable(PGVM pGVM, uint64_t cMinEntries); 578 VMMR0_INT_DECL(int) IOMR0IoPortSyncStatisticsIndices(PGVM pGVM); 576 579 577 580 VMMR0_INT_DECL(int) IOMR0MmioSetUpContext(PGVM pGVM, PPDMDEVINS pDevIns, IOMMMIOHANDLE hRegion, PFNIOMMMIONEWWRITE pfnWrite, … … 579 582 VMMR0_INT_DECL(int) IOMR0MmioGrowRegistrationTables(PGVM pGVM, uint64_t cMinEntries); 580 583 VMMR0_INT_DECL(int) IOMR0MmioGrowStatisticsTable(PGVM pGVM, uint64_t cMinEntries); 584 VMMR0_INT_DECL(int) IOMR0MmioSyncStatisticsIndices(PGVM pGVM); 585 581 586 /** @} */ 582 587 #endif /* IN_RING0 || DOXYGEN_RUNNING */
Note:
See TracChangeset
for help on using the changeset viewer.