Changeset 14826 in vbox for trunk/include/VBox/pdmdev.h
- Timestamp:
- Nov 30, 2008 7:55:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r13519 r14826 2746 2746 2747 2747 /** 2748 * Maps a portion of an MMIO2 region into kernel space (host). 2749 * 2750 * The kernel mapping will become invalid when the MMIO2 memory is deregistered 2751 * or the VM is terminated. 2752 * 2753 * @return VBox status code. 2754 * @param pDevIns The device owning the MMIO2 memory. 2755 * @param iRegion The region. 2756 * @param off The offset into the region. Must be page aligned. 2757 * @param cb The number of bytes to map. Must be page aligned. 2758 * @param pszDesc Mapping description. 2759 * @param pR0Ptr Where to store the R0 address. 2760 */ 2761 DECLR3CALLBACKMEMBER(int, pfnMMIO2MapKernel,(PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS off, RTGCPHYS cb, 2762 const char *pszDesc, PRTR0PTR pR0Ptr)); 2763 2764 /** 2748 2765 * Registers the VMM device heap 2749 2766 * … … 2779 2796 2780 2797 /** Current PDMDEVHLP version number. */ 2781 #define PDM_DEVHLP_VERSION 0xf20 600012798 #define PDM_DEVHLP_VERSION 0xf2070000 2782 2799 2783 2800 … … 3318 3335 3319 3336 /** 3337 * @copydoc PDMDEVHLPR3::pfnMMIO2MapKernel 3338 */ 3339 DECLINLINE(int) PDMDevHlpMMIO2MapKernel(PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS off, RTGCPHYS cb, 3340 const char *pszDesc, PRTR0PTR pR0Ptr) 3341 { 3342 return pDevIns->pDevHlpR3->pfnMMIO2MapKernel(pDevIns, iRegion, off, cb, pszDesc, pR0Ptr); 3343 } 3344 3345 /** 3320 3346 * @copydoc PDMDEVHLPR3::pfnRegisterVMMDevHeap 3321 3347 */
Note:
See TracChangeset
for help on using the changeset viewer.