VirtualBox

Changeset 17371 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 5, 2009 1:37:58 AM (16 years ago)
Author:
vboxsync
Message:

PGM,GMM: Hacking on the new phys code.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r12653 r17371  
    372372    /** The header. */
    373373    SUPVMMR0REQHDR  Hdr;
    374     /** The chunk to map, UINT32_MAX if unmap only. (IN) */
     374    /** The chunk to map, NIL_GMM_CHUNKID if unmap only. (IN) */
    375375    uint32_t        idChunkMap;
    376     /** The chunk to unmap, UINT32_MAX if map only. (IN) */
     376    /** The chunk to unmap, NIL_GMM_CHUNKID if map only. (IN) */
    377377    uint32_t        idChunkUnmap;
    378378    /** Where the mapping address is returned. (OUT) */
  • trunk/include/VBox/mm.h

    r17290 r17371  
    333333 * @{ */
    334334#ifndef VBOX_WITH_NEW_PHYS_CODE
    335 VMMR3DECL(int)      MMR3PhysRegister(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, const char *pszDesc);
    336335VMMR3DECL(int)      MMR3PhysRegisterEx(PVM pVM, void *pvRam, RTGCPHYS GCPhys, unsigned cb, unsigned fFlags, MMPHYSREG enmType, const char *pszDesc);
    337336VMMR3DECL(int)      MMR3PhysRomRegister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhys, RTUINT cbRange, const void *pvBinary, bool fShadow, const char *pszDesc);
  • trunk/include/VBox/pgm.h

    r17305 r17371  
    523523#ifndef VBOX_WITH_NEW_PHYS_CODE
    524524VMMR3DECL(int)      PGMR3PhysRegisterChunk(PVM pVM, void *pvRam, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, const SUPPAGE *paPages, const char *pszDesc);
     525VMMR3DECL(int)      PGMR3PhysSetFlags(PVM pVM, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, unsigned fMask);
    525526#endif /* !VBOX_WITH_NEW_PHYS_CODE */
    526 VMMR3DECL(int)      PGMR3PhysSetFlags(PVM pVM, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, unsigned fMask);
    527527VMMDECL(void)       PGMR3PhysSetA20(PVM pVM, bool fEnable);
    528528VMMR3DECL(int)      PGMR3MapPT(PVM pVM, RTGCPTR GCPtr, uint32_t cb, PFNPGMRELOCATE pfnRelocate, void *pvUser, const char *pszDesc);
     
    557557VMMR3DECL(int)      PGMR3DumpHierarchyGC(PVM pVM, uint64_t cr3, uint64_t cr4, RTGCPHYS PhysSearch);
    558558
    559 VMMR3DECL(int)      PGMR3PhysTlbGCPhys2Ptr(PVM pVM, RTGCPHYS GCPhys, bool fWritable, void **pvPtr);
     559VMMR3DECL(int)      PGMR3PhysTlbGCPhys2Ptr(PVM pVM, RTGCPHYS GCPhys, bool fWritable, void **ppv);
    560560VMMR3DECL(uint8_t)  PGMR3PhysReadU8(PVM pVM, RTGCPHYS GCPhys);
    561561VMMR3DECL(uint16_t) PGMR3PhysReadU16(PVM pVM, RTGCPHYS GCPhys);
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