VirtualBox

Changeset 14826 in vbox for trunk/include/VBox/pdmdev.h


Ignore:
Timestamp:
Nov 30, 2008 7:55:50 AM (16 years ago)
Author:
vboxsync
Message:

VMM: New DevHlp pfnMMIO2MapKernel for darwin/VT-x/VGA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmdev.h

    r13519 r14826  
    27462746
    27472747    /**
     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    /**
    27482765     * Registers the VMM device heap
    27492766     *
     
    27792796
    27802797/** Current PDMDEVHLP version number. */
    2781 #define PDM_DEVHLP_VERSION  0xf2060001
     2798#define PDM_DEVHLP_VERSION  0xf2070000
    27822799
    27832800
     
    33183335
    33193336/**
     3337 * @copydoc PDMDEVHLPR3::pfnMMIO2MapKernel
     3338 */
     3339DECLINLINE(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/**
    33203346 * @copydoc PDMDEVHLPR3::pfnRegisterVMMDevHeap
    33213347 */
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