VirtualBox

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


Ignore:
Timestamp:
Oct 17, 2008 12:36:57 PM (16 years ago)
Author:
vboxsync
Message:

Removed the new MMIO functionality. Will do it in a different way.

File:
1 edited

Legend:

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

    r13371 r13373  
    27672767    DECLR3CALLBACKMEMBER(int, pfnUnregisterVMMDevHeap,(PPDMDEVINS pDevIns, RTGCPHYS GCPhys));
    27682768
    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 a
    2774      * 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 Type
    2779      * @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 
    27912769    /** @} */
    27922770
     
    32663244
    32673245/**
    3268  * @copydoc PDMDEVHLPR3::pfnMMIORegisterEx
    3269  */
    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 /**
    32783246 * @copydoc PDMDEVHLPR3::pfnMMIORegisterGC
    32793247 */
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