Changeset 6546 in vbox for trunk/include/VBox
- Timestamp:
- Jan 28, 2008 9:58:59 PM (17 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/mm.h
r6528 r6546 114 114 /** @} */ 115 115 116 #ifndef VBOX_WITH_NEW_PHYS_CODE 116 117 /** @name MMR3PhysRegisterEx registration type 117 118 * @{ … … 127 128 } MMPHYSREG; 128 129 /** @} */ 130 #endif 129 131 130 132 /** … … 881 883 * @param pszDesc Description of the memory. 882 884 * @thread The Emulation Thread. 885 * 886 * @todo This will only be used for registering MMIO2 memory from devices. So, rename it. 883 887 */ 884 888 MMR3DECL(int) MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc); 885 889 890 #ifndef VBOX_WITH_NEW_PHYS_CODE 886 891 /** 887 892 * Register externally allocated RAM for the virtual machine. … … 900 905 * @thread The Emulation Thread. 901 906 * @todo update this description. 907 * @deprecated For the old dynamic allocation code only. Will be removed with VBOX_WITH_NEW_PHYS_CODE. 902 908 */ 903 909 MMR3DECL(int) MMR3PhysRegisterEx(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, MMPHYSREG enmType, const char *pszDesc); 910 #endif /* !VBOX_WITH_NEW_PHYS_CODE */ 904 911 905 912 /** -
trunk/include/VBox/pgm.h
r6532 r6546 1414 1414 PGMR3DECL(int) PGMR3ChangeShwPDMappings(PVM pVM, bool fEnable); 1415 1415 1416 #ifndef VBOX_WITH_NEW_PHYS_CODE 1416 1417 /** 1417 1418 * Allocate missing physical pages for an existing guest RAM range. … … 1422 1423 */ 1423 1424 PGMR3DECL(int) PGM3PhysGrowRange(PVM pVM, RTGCPHYS GCPhys); 1425 #endif /* !VBOX_WITH_NEW_PHYS_CODE */ 1424 1426 1425 1427 /** … … 1442 1444 PGMR3DECL(int) PGMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, const SUPPAGE *paPages, const char *pszDesc); 1443 1445 1446 #ifndef VBOX_WITH_NEW_PHYS_CODE 1444 1447 /** 1445 1448 * Register a chunk of a the physical memory range with PGM. MM is responsible … … 1457 1460 */ 1458 1461 PGMR3DECL(int) PGMR3PhysRegisterChunk(PVM pVM, void *pvRam, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, const SUPPAGE *paPages, const char *pszDesc); 1462 #endif /* !VBOX_WITH_NEW_PHYS_CODE */ 1459 1463 1460 1464 /** -
trunk/include/VBox/rem.h
r5999 r6546 284 284 * @param cb Size of the memory. 285 285 * @param fFlags Flags of the MM_RAM_FLAGS_* defines. 286 * @param pvRam The HC address of the RAM.287 */ 288 REMR3DECL(void) REMR3NotifyPhysRamRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, void *pvRam, unsigned fFlags); 289 286 */ 287 REMR3DECL(void) REMR3NotifyPhysRamRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, unsigned fFlags); 288 289 #ifndef VBOX_WITH_NEW_PHYS_CODE 290 290 /** 291 291 * Notification about a successful PGMR3PhysRegisterChunk() call. … … 298 298 */ 299 299 REMR3DECL(void) REMR3NotifyPhysRamChunkRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, RTHCUINTPTR pvRam, unsigned fFlags); 300 #endif 300 301 301 302 /** … … 307 308 * @param pvCopy Pointer to the ROM copy. 308 309 * @param fShadow Whether it's currently writable shadow ROM or normal readonly ROM. 309 * This function will be called when ever the protection of the 310 * This function will be called when ever the protection of the 310 311 * shadow ROM changes (at reset and end of POST). 311 312 */
Note:
See TracChangeset
for help on using the changeset viewer.