VirtualBox

Changeset 17432 in vbox for trunk/include


Ignore:
Timestamp:
Mar 6, 2009 2:04:24 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43843
Message:

PGM,GMM: Filling in missing bits and fixing some bugs.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r17282 r17432  
    433433/** No CR3 root shadow page table.. */
    434434#define VERR_PGM_NO_CR3_SHADOW_ROOT             (-1636)
     435/** Trying to free a page that isn't RAM. */
     436#define VERR_PGM_PHYS_NOT_RAM                   (-1637)
     437/** Trying to free a page with an invalid Page ID. */
     438#define VERR_PGM_PHYS_INVALID_PAGE_ID           (-1638)
    435439/** @} */
    436440
  • trunk/include/VBox/gmm.h

    r17371 r17432  
    397397GMMR3DECL(void) GMMR3AllocatePagesCleanup(PGMMALLOCATEPAGESREQ pReq);
    398398GMMR3DECL(int)  GMMR3FreePagesPrepare(PVM pVM, PGMMFREEPAGESREQ *ppReq, uint32_t cPages, GMMACCOUNT enmAccount);
    399 GMMR3DECL(int)  GMMR3FreePagesPerform(PVM pVM, PGMMFREEPAGESREQ pReq);
     399GMMR3DECL(void) GMMR3FreePagesRePrep(PVM pVM, PGMMFREEPAGESREQ pReq, uint32_t cPages, GMMACCOUNT enmAccount);
     400GMMR3DECL(int)  GMMR3FreePagesPerform(PVM pVM, PGMMFREEPAGESREQ pReq, uint32_t cActualPages);
    400401GMMR3DECL(void) GMMR3FreePagesCleanup(PGMMFREEPAGESREQ pReq);
    401402GMMR3DECL(void) GMMR3FreeAllocatedPages(PVM pVM, GMMALLOCATEPAGESREQ const *pAllocReq);
  • trunk/include/VBox/pgm.h

    r17373 r17432  
    407407VMMDECL(RTR3PTR)    PGMPhysGCPhys2R3PtrAssert(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange);
    408408VMMDECL(int)        PGMPhysGCPtr2R3Ptr(PVM pVM, RTGCPTR GCPtr, PRTR3PTR pR3Ptr);
    409 VMMDECL(int)        PGMPhysGCPtr2R3PtrByGstCR3(PVM pVM, RTGCPTR GCPtr, uint64_t cr3, unsigned fFlags, PRTR3PTR pR3Ptr);
    410409VMMDECL(void)       PGMPhysRead(PVM pVM, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead);
    411410VMMDECL(void)       PGMPhysWrite(PVM pVM, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette