VirtualBox

Ignore:
Timestamp:
Jul 26, 2021 7:55:53 PM (3 years ago)
Author:
vboxsync
Message:
  • VMM: Pass pVM to PDMCritSect APIs. bugref:9218 bugref:10074
  • DrvNetShaper: Do bandwidth allocation via PDMDrvHlp. bugref:10074
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r87141 r90346  
    5959
    6060int             pgmPoolTrackFlushGCPhysPTsSlow(PVMCC pVM, PPGMPAGE pPhysPage);
    61 PPGMPOOLPHYSEXT pgmPoolTrackPhysExtAlloc(PVM pVM, uint16_t *piPhysExt);
    62 void            pgmPoolTrackPhysExtFree(PVM pVM, uint16_t iPhysExt);
    63 void            pgmPoolTrackPhysExtFreeList(PVM pVM, uint16_t iPhysExt);
     61PPGMPOOLPHYSEXT pgmPoolTrackPhysExtAlloc(PVMCC pVM, uint16_t *piPhysExt);
     62void            pgmPoolTrackPhysExtFree(PVMCC pVM, uint16_t iPhysExt);
     63void            pgmPoolTrackPhysExtFreeList(PVMCC pVM, uint16_t iPhysExt);
    6464
    6565RT_C_DECLS_END
     
    17931793 * @param   GCPhys          Guest physical address
    17941794 */
    1795 bool pgmPoolIsDirtyPageSlow(PVM pVM, RTGCPHYS GCPhys)
     1795bool pgmPoolIsDirtyPageSlow(PVMCC pVM, RTGCPHYS GCPhys)
    17961796{
    17971797    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
     
    18611861 * @param   GCPtrPage       Guest page to invalidate
    18621862 */
    1863 void pgmPoolResetDirtyPage(PVM pVM, RTGCPTR GCPtrPage)
     1863void pgmPoolResetDirtyPage(PVMCC pVM, RTGCPTR GCPtrPage)
    18641864{
    18651865    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
     
    33923392 * @param   iPhysExt    The physical cross reference extent list to flush.
    33933393 */
    3394 static void pgmPoolTrackFlushGCPhysPTs(PVM pVM, PPGMPAGE pPhysPage, bool fFlushPTEs, uint16_t iPhysExt)
     3394static void pgmPoolTrackFlushGCPhysPTs(PVMCC pVM, PPGMPAGE pPhysPage, bool fFlushPTEs, uint16_t iPhysExt)
    33953395{
    33963396    PGM_LOCK_ASSERT_OWNER(pVM);
     
    38683868 * @param   piPhysExt   Where to store the phys ext index.
    38693869 */
    3870 PPGMPOOLPHYSEXT pgmPoolTrackPhysExtAlloc(PVM pVM, uint16_t *piPhysExt)
     3870PPGMPOOLPHYSEXT pgmPoolTrackPhysExtAlloc(PVMCC pVM, uint16_t *piPhysExt)
    38713871{
    38723872    PGM_LOCK_ASSERT_OWNER(pVM);
     
    38923892 * @param   iPhysExt    The extent to free.
    38933893 */
    3894 void pgmPoolTrackPhysExtFree(PVM pVM, uint16_t iPhysExt)
     3894void pgmPoolTrackPhysExtFree(PVMCC pVM, uint16_t iPhysExt)
    38953895{
    38963896    PGM_LOCK_ASSERT_OWNER(pVM);
     
    39143914 * @param   iPhysExt    The extent to free.
    39153915 */
    3916 void pgmPoolTrackPhysExtFreeList(PVM pVM, uint16_t iPhysExt)
     3916void pgmPoolTrackPhysExtFreeList(PVMCC pVM, uint16_t iPhysExt)
    39173917{
    39183918    PGM_LOCK_ASSERT_OWNER(pVM);
     
    39513951 *
    39523952 */
    3953 static uint16_t pgmPoolTrackPhysExtInsert(PVM pVM, uint16_t iPhysExt, uint16_t iShwPT, uint16_t iPte)
     3953static uint16_t pgmPoolTrackPhysExtInsert(PVMCC pVM, uint16_t iPhysExt, uint16_t iShwPT, uint16_t iPte)
    39543954{
    39553955    PGM_LOCK_ASSERT_OWNER(pVM);
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