Changeset 12989 in vbox for trunk/src/VBox/VMM/MMPhys.cpp
- Timestamp:
- Oct 6, 2008 2:15:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMPhys.cpp
r12967 r12989 56 56 * @param pszDesc Description of the memory. 57 57 */ 58 MMR3DECL(int) MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc)58 VMMR3DECL(int) MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc) 59 59 { 60 60 return MMR3PhysRegisterEx(pVM, pvRam, GCPhys, cb, fFlags, MM_PHYS_TYPE_NORMAL, pszDesc); … … 81 81 */ 82 82 /** @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)83 VMMR3DECL(int) MMR3PhysRegisterEx(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, MMPHYSREG enmType, const char *pszDesc) 84 84 { 85 85 int rc = VINF_SUCCESS; … … 220 220 * manually from the device yet. At present I doubt we need such features... 221 221 */ 222 MMR3DECL(int) MMR3PhysRomRegister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhys, RTUINT cbRange, const void *pvBinary,222 VMMR3DECL(int) MMR3PhysRomRegister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhys, RTUINT cbRange, const void *pvBinary, 223 223 bool fShadow, const char *pszDesc) 224 224 { … … 350 350 * @param pszDesc Description string. 351 351 */ 352 MMR3DECL(int) MMR3PhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, const char *pszDesc)352 VMMR3DECL(int) MMR3PhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, const char *pszDesc) 353 353 { 354 354 /* … … 414 414 * @thread Any. 415 415 */ 416 MMR3DECL(uint64_t) MMR3PhysGetRamSize(PVM pVM)416 VMMR3DECL(uint64_t) MMR3PhysGetRamSize(PVM pVM) 417 417 { 418 418 return pVM->mm.s.cbRamBase; … … 460 460 * This can be NULL (not sure about the BIOS interface yet). 461 461 */ 462 MMR3DECL(int) MMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange)462 VMMR3DECL(int) MMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange) 463 463 { 464 464 for (PMMROMRANGE pCur = pVM->mm.s.pRomHead; pCur; pCur = pCur->pNext)
Note:
See TracChangeset
for help on using the changeset viewer.