VirtualBox

Ignore:
Timestamp:
Jan 24, 2024 12:58:12 AM (10 months ago)
Author:
vboxsync
Message:

iprt/asm-mem.h: Eliminated the ASMMemZeroPage function, replaced the three actual uses in PGMPool with RT_BZERO/PAGE_SIZE.

File:
1 edited

Legend:

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

    r103005 r103014  
    51445144    /* paranoia, clear the shadow page. Remove this laser (i.e. let Alloc and ClearAll do it). */
    51455145    STAM_PROFILE_START(&pPool->StatZeroPage, z);
    5146     ASMMemZeroPage(pvShw);
     5146    RT_BZERO(pvShw, PAGE_SIZE);
    51475147    STAM_PROFILE_STOP(&pPool->StatZeroPage, z);
    51485148    pPage->fZeroed = true;
     
    54805480        STAM_PROFILE_START(&pPool->StatZeroPage, z);
    54815481        void *pv = PGMPOOL_PAGE_2_PTR(pVM, pPage);
    5482         ASMMemZeroPage(pv);
     5482        RT_BZERO(pv, PAGE_SIZE);
    54835483        STAM_PROFILE_STOP(&pPool->StatZeroPage, z);
    54845484    }
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