VirtualBox

Changeset 12989 in vbox for trunk/src/VBox/VMM/MMPhys.cpp


Ignore:
Timestamp:
Oct 6, 2008 2:15:39 AM (16 years ago)
Author:
vboxsync
Message:

VMM + VBox/cdefs.h: consolidated all the XYZ*DECLS of the VMM into VMM*DECL. Removed dead DECL and IN_XYZ* macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/MMPhys.cpp

    r12967 r12989  
    5656 * @param   pszDesc     Description of the memory.
    5757 */
    58 MMR3DECL(int) MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc)
     58VMMR3DECL(int) MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc)
    5959{
    6060    return MMR3PhysRegisterEx(pVM, pvRam, GCPhys, cb, fFlags, MM_PHYS_TYPE_NORMAL, pszDesc);
     
    8181 */
    8282/** @todo this function description is not longer up-to-date */
    83 MMR3DECL(int) MMR3PhysRegisterEx(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, MMPHYSREG enmType, const char *pszDesc)
     83VMMR3DECL(int) MMR3PhysRegisterEx(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, MMPHYSREG enmType, const char *pszDesc)
    8484{
    8585    int rc = VINF_SUCCESS;
     
    220220 *          manually from the device yet. At present I doubt we need such features...
    221221 */
    222 MMR3DECL(int) MMR3PhysRomRegister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhys, RTUINT cbRange, const void *pvBinary,
     222VMMR3DECL(int) MMR3PhysRomRegister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhys, RTUINT cbRange, const void *pvBinary,
    223223                                  bool fShadow, const char *pszDesc)
    224224{
     
    350350 * @param   pszDesc         Description string.
    351351 */
    352 MMR3DECL(int) MMR3PhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, const char *pszDesc)
     352VMMR3DECL(int) MMR3PhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, const char *pszDesc)
    353353{
    354354    /*
     
    414414 * @thread  Any.
    415415 */
    416 MMR3DECL(uint64_t) MMR3PhysGetRamSize(PVM pVM)
     416VMMR3DECL(uint64_t) MMR3PhysGetRamSize(PVM pVM)
    417417{
    418418    return pVM->mm.s.cbRamBase;
     
    460460 *                      This can be NULL (not sure about the BIOS interface yet).
    461461 */
    462 MMR3DECL(int) MMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange)
     462VMMR3DECL(int) MMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange)
    463463{
    464464    for (PMMROMRANGE pCur = pVM->mm.s.pRomHead; pCur; pCur = pCur->pNext)
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