Changeset 13373 in vbox for trunk/include/VBox/pdmdev.h
- Timestamp:
- Oct 17, 2008 12:36:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r13371 r13373 2767 2767 DECLR3CALLBACKMEMBER(int, pfnUnregisterVMMDevHeap,(PPDMDEVINS pDevIns, RTGCPHYS GCPhys)); 2768 2768 2769 /**2770 * Register a Memory Mapped I/O (MMIO) region with backing memory (or use existing memory if part of guest ram)2771 *2772 * These callbacks are of course for the host context (HC).2773 * Register HC handlers before guest context (GC) handlers! There must be a2774 * HC handler for every GC handler!2775 *2776 * @returns VBox status.2777 * @param pDevIns The device instance to register the MMIO with.2778 * @param enmMMIOType MMIO Type2779 * @param GCPhysStart First physical address in the range.2780 * @param cbRange The size of the range (in bytes).2781 * @param pvUser User argument.2782 * @param pfnWrite Pointer to function which is gonna handle Write operations.2783 * @param pfnRead Pointer to function which is gonna handle Read operations.2784 * @param pfnFill Pointer to function which is gonna handle Fill/memset operations. (optional)2785 * @param pszDesc Pointer to description string. This must not be freed.2786 */2787 DECLR3CALLBACKMEMBER(int, pfnMMIORegisterEx,(PPDMDEVINS pDevIns, IOMMMIOTYPE enmMMIOType, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser,2788 PFNIOMMMIOWRITE pfnWrite, PFNIOMMMIOREAD pfnRead, PFNIOMMMIOFILL pfnFill,2789 const char *pszDesc));2790 2791 2769 /** @} */ 2792 2770 … … 3266 3244 3267 3245 /** 3268 * @copydoc PDMDEVHLPR3::pfnMMIORegisterEx3269 */3270 DECLINLINE(int) PDMDevHlpMMIORegisterEx(PPDMDEVINS pDevIns, IOMMMIOTYPE enmMMIOType, RTGCPHYS GCPhysStart, RTUINT cbRange, RTHCPTR pvUser,3271 PFNIOMMMIOWRITE pfnWrite, PFNIOMMMIOREAD pfnRead, PFNIOMMMIOFILL pfnFill,3272 const char *pszDesc)3273 {3274 return pDevIns->pDevHlpR3->pfnMMIORegisterEx(pDevIns, enmMMIOType, GCPhysStart, cbRange, pvUser, pfnWrite, pfnRead, pfnFill, pszDesc);3275 }3276 3277 /**3278 3246 * @copydoc PDMDEVHLPR3::pfnMMIORegisterGC 3279 3247 */
Note:
See TracChangeset
for help on using the changeset viewer.