VirtualBox

Changeset 26577 in vbox for trunk/include


Ignore:
Timestamp:
Feb 16, 2010 12:57:58 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57760
Message:

More large page work

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r26563 r26577  
    271271GMMR0DECL(int)  GMMR0AllocateHandyPages(PVM pVM, VMCPUID idCpu, uint32_t cPagesToUpdate, uint32_t cPagesToAlloc, PGMMPAGEDESC paPages);
    272272GMMR0DECL(int)  GMMR0AllocatePages(PVM pVM, VMCPUID idCpu, uint32_t cPages, PGMMPAGEDESC paPages, GMMACCOUNT enmAccount);
    273 GMMR0DECL(int)  GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint64_t cbPage, uint32_t *pidPage);
     273GMMR0DECL(int)  GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint32_t cbPage, uint32_t *pidPage, RTHCPHYS *pHCPhys);
    274274GMMR0DECL(int)  GMMR0FreePages(PVM pVM, VMCPUID idCpu, uint32_t cPages, PGMMFREEPAGEDESC paPages, GMMACCOUNT enmAccount);
    275275GMMR0DECL(int)  GMMR0FreeLargePage(PVM pVM, VMCPUID idCpu, uint32_t idPage);
     
    419419     */
    420420    uint32_t        idPage;
     421    /* Host physical address of the large page. */
     422    RTHCPHYS        HCPhys;
    421423} GMMALLOCLARGEPAGEREQ;
    422424/** Pointer to a GMMR0AllocateLargePageReq / VMMR0_DO_GMM_ALLOC_LARGE_PAGE request buffer. */
     
    459461GMMR3DECL(void) GMMR3FreePagesCleanup(PGMMFREEPAGESREQ pReq);
    460462GMMR3DECL(void) GMMR3FreeAllocatedPages(PVM pVM, GMMALLOCATEPAGESREQ const *pAllocReq);
     463GMMR3DECL(int)  GMMR3AllocateLargePage(PVM pVM,  uint32_t cbPage, uint32_t *pidPage, RTHCPHYS *pHCPhys);
     464GMMR3DECL(int)  GMMR3FreeLargePage(PVM pVM,  uint32_t idPage);
    461465GMMR3DECL(int)  GMMR3DeflatedBalloon(PVM pVM, uint32_t cPages);
    462466GMMR3DECL(int)  GMMR3MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3);
  • trunk/include/VBox/pgm.h

    r26330 r26577  
    533533VMMR3DECL(void)     PGMR3PhysChunkInvalidateTLB(PVM pVM);
    534534VMMR3DECL(int)      PGMR3PhysAllocateHandyPages(PVM pVM);
    535 
     535VMMR3DECL(int)      PGMR3PhysAllocateLargePage(PVM pVM);
    536536
    537537VMMR3DECL(void)     PGMR3ReleaseOwnedLocks(PVM pVM);
  • trunk/include/VBox/vmm.h

    r26563 r26577  
    9595    /** Allocates more handy pages. */
    9696    VMMCALLRING3_PGM_ALLOCATE_HANDY_PAGES,
     97    /** Allocates a large (2MB) page. */
     98    VMMCALLRING3_PGM_ALLOCATE_LARGE_PAGE,
    9799    /** Acquire the MM hypervisor heap lock. */
    98100    VMMCALLRING3_MMHYPER_LOCK,
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