VirtualBox

Changeset 39078 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Oct 21, 2011 2:18:22 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74507
Message:

VMM: -Wunused-parameter

Location:
trunk/include/VBox/vmm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/mm.h

    r37955 r39078  
    247247VMMR3DECL(int)      MMR3Term(PVM pVM);
    248248VMMR3DECL(void)     MMR3TermUVM(PUVM pUVM);
    249 VMMR3DECL(void)     MMR3Reset(PVM pVM);
    250249VMMR3DECL(int)      MMR3ReserveHandyPages(PVM pVM, uint32_t cHandyPages);
    251250VMMR3DECL(int)      MMR3IncreaseBaseReservation(PVM pVM, uint64_t cAddBasePages);
  • trunk/include/VBox/vmm/pdmdev.h

    r39060 r39078  
    22602260     * @param   pszRead             Name of the RC function which is gonna handle Read operations.
    22612261     * @param   pszFill             Name of the RC function which is gonna handle Fill/memset operations. (optional)
    2262      * @param   pszDesc             Obsolete. NULL is fine.
    2263      * @todo    Remove pszDesc in the next major revision of PDMDEVHLPR3.
    22642262     */
    22652263    DECLR3CALLBACKMEMBER(int, pfnMMIORegisterRC,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser,
    2266                                                  const char *pszWrite, const char *pszRead, const char *pszFill,
    2267                                                  const char *pszDesc));
     2264                                                 const char *pszWrite, const char *pszRead, const char *pszFill));
    22682265
    22692266    /**
     
    22832280     * @param   pszFill             Name of the RC function which is gonna handle Fill/memset operations. (optional)
    22842281     * @param   pszDesc             Obsolete. NULL is fine.
    2285      * @todo    Remove pszDesc in the next major revision of PDMDEVHLPR3.
    22862282     */
    22872283    DECLR3CALLBACKMEMBER(int, pfnMMIORegisterR0,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTR0PTR pvUser,
    2288                                                  const char *pszWrite, const char *pszRead, const char *pszFill,
    2289                                                  const char *pszDesc));
     2284                                                 const char *pszWrite, const char *pszRead, const char *pszFill));
    22902285
    22912286    /**
     
    34783473
    34793474/** Current PDMDEVHLPR3 version number. */
    3480 #define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 7, 0)
     3475#define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 8, 0)
    34813476
    34823477
     
    41224117                                        const char *pszWrite, const char *pszRead, const char *pszFill)
    41234118{
    4124     return pDevIns->pHlpR3->pfnMMIORegisterRC(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill, NULL);
     4119    return pDevIns->pHlpR3->pfnMMIORegisterRC(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill);
    41254120}
    41264121
     
    41314126                                        const char *pszWrite, const char *pszRead, const char *pszFill)
    41324127{
    4133     return pDevIns->pHlpR3->pfnMMIORegisterR0(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill, NULL);
     4128    return pDevIns->pHlpR3->pfnMMIORegisterR0(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill);
    41344129}
    41354130
     
    44384433    return rc;
    44394434# else
     4435    NOREF(pDevIns);
     4436    NOREF(pszFile);
     4437    NOREF(iLine);
     4438    NOREF(pszFunction);
     4439    NOREF(pszFormat);
    44404440    return VINF_EM_DBG_STOP;
    44414441# endif
  • trunk/include/VBox/vmm/pgm.h

    r38707 r39078  
    148148 * @param   enmAccessType   The access type.
    149149 * @param   pvUser          User argument.
     150 *
     151 * @todo    Add pVCpu, possibly replacing pVM.
    150152 */
    151153typedef DECLCALLBACK(int) FNPGMR3PHYSHANDLER(PVM pVM, RTGCPHYS GCPhys, void *pvPhys, void *pvBuf, size_t cbBuf, PGMACCESSTYPE enmAccessType, void *pvUser);
     
    183185 * @param   offRange    The offset of the access into this range.
    184186 *                      (If it's a EIP range this is the EIP, if not it's pvFault.)
     187 * @todo    Add pVCpu, possibly replacing pVM.
    185188 */
    186189typedef DECLCALLBACK(int) FNPGMRCVIRTHANDLER(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange);
     
    203206 * @param   enmAccessType   The access type.
    204207 * @param   pvUser          User argument.
     208 * @todo    Add pVCpu, possibly replacing pVM.
    205209 */
    206210typedef DECLCALLBACK(int) FNPGMR3VIRTHANDLER(PVM pVM, RTGCPTR GCPtr, void *pvPtr, void *pvBuf, size_t cbBuf, PGMACCESSTYPE enmAccessType, void *pvUser);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette