VirtualBox

Changeset 43047 in vbox for trunk/include


Ignore:
Timestamp:
Aug 28, 2012 2:47:29 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80381
Message:

VMM: Must flush changes pending in the handy page array before freeing memory. There may be requests to free shared pages in there, esp. in a guest shutdown scenario.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pgm.h

    r42453 r43047  
    425425 * @{
    426426 */
    427 VMMR0DECL(int)      PGMR0PhysAllocateHandyPages(PVM pVM, PVMCPU pVCpu);
    428 VMMR0DECL(int)      PGMR0PhysAllocateLargeHandyPage(PVM pVM, PVMCPU pVCpu);
     427VMMR0_INT_DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM, PVMCPU pVCpu);
     428VMMR0_INT_DECL(int) PGMR0PhysFlushHandyPages(PVM pVM, PVMCPU pVCpu);
     429VMMR0_INT_DECL(int) PGMR0PhysAllocateLargeHandyPage(PVM pVM, PVMCPU pVCpu);
    429430VMMR0_INT_DECL(int) PGMR0PhysSetupIommu(PVM pVM);
    430431VMMR0DECL(int)      PGMR0SharedModuleCheck(PVM pVM, PGVM pGVM, VMCPUID idCpu, PGMMSHAREDMODULE pModule, PCRTGCPTR64 paRegionsGCPtrs);
  • trunk/include/VBox/vmm/vmm.h

    r41149 r43047  
    365365    /** Call PGMR0PhysAllocateHandyPages(). */
    366366    VMMR0_DO_PGM_ALLOCATE_HANDY_PAGES,
     367    /** Call PGMR0PhysFlushHandyPages(). */
     368    VMMR0_DO_PGM_FLUSH_HANDY_PAGES,
    367369    /** Call PGMR0AllocateLargePage(). */
    368370    VMMR0_DO_PGM_ALLOCATE_LARGE_HANDY_PAGE,
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