VirtualBox

Changeset 6546 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 28, 2008 9:58:59 PM (17 years ago)
Author:
vboxsync
Message:

VBOX_WITH_NEW_PHYS_CODE changes mostly realted to REM. Killed a warning in cpu-exec.c.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r6528 r6546  
    114114/** @} */
    115115
     116#ifndef VBOX_WITH_NEW_PHYS_CODE
    116117/** @name MMR3PhysRegisterEx registration type
    117118 * @{
     
    127128} MMPHYSREG;
    128129/** @} */
     130#endif
    129131
    130132/**
     
    881883 * @param   pszDesc     Description of the memory.
    882884 * @thread  The Emulation Thread.
     885 *
     886 * @todo    This will only be used for registering MMIO2 memory from devices. So, rename it.
    883887 */
    884888MMR3DECL(int) MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc);
    885889
     890#ifndef VBOX_WITH_NEW_PHYS_CODE
    886891/**
    887892 * Register externally allocated RAM for the virtual machine.
     
    900905 * @thread  The Emulation Thread.
    901906 * @todo update this description.
     907 * @deprecated  For the old dynamic allocation code only. Will be removed with VBOX_WITH_NEW_PHYS_CODE.
    902908 */
    903909MMR3DECL(int) MMR3PhysRegisterEx(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, MMPHYSREG enmType, const char *pszDesc);
     910#endif /* !VBOX_WITH_NEW_PHYS_CODE */
    904911
    905912/**
  • trunk/include/VBox/pgm.h

    r6532 r6546  
    14141414PGMR3DECL(int) PGMR3ChangeShwPDMappings(PVM pVM, bool fEnable);
    14151415
     1416#ifndef VBOX_WITH_NEW_PHYS_CODE
    14161417/**
    14171418 * Allocate missing physical pages for an existing guest RAM range.
     
    14221423 */
    14231424PGMR3DECL(int) PGM3PhysGrowRange(PVM pVM, RTGCPHYS GCPhys);
     1425#endif /* !VBOX_WITH_NEW_PHYS_CODE */
    14241426
    14251427/**
     
    14421444PGMR3DECL(int) PGMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, const SUPPAGE *paPages, const char *pszDesc);
    14431445
     1446#ifndef VBOX_WITH_NEW_PHYS_CODE
    14441447/**
    14451448 * Register a chunk of a the physical memory range with PGM. MM is responsible
     
    14571460 */
    14581461PGMR3DECL(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 */
    14591463
    14601464/**
  • trunk/include/VBox/rem.h

    r5999 r6546  
    284284 * @param   cb          Size of the memory.
    285285 * @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 */
     287REMR3DECL(void) REMR3NotifyPhysRamRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, unsigned fFlags);
     288
     289#ifndef VBOX_WITH_NEW_PHYS_CODE
    290290/**
    291291 * Notification about a successful PGMR3PhysRegisterChunk() call.
     
    298298 */
    299299REMR3DECL(void) REMR3NotifyPhysRamChunkRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, RTHCUINTPTR pvRam, unsigned fFlags);
     300#endif
    300301
    301302/**
     
    307308 * @param   pvCopy      Pointer to the ROM copy.
    308309 * @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
    310311 *                      shadow ROM changes (at reset and end of POST).
    311312 */
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