VirtualBox

Changeset 30731 in vbox


Ignore:
Timestamp:
Jul 8, 2010 10:09:58 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63496
Message:

Use ASMMemIsZeroPage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGM.cpp

    r30730 r30731  
    42224222                        int rc = pgmPhysGCPhys2CCPtrInternalReadOnly(pVM, pPage, GCPhys, &pvPage);
    42234223                        if (    rc == VINF_SUCCESS
    4224                             &&  !memcmp(pVM->pgm.s.pvZeroPgR3, pvPage, PAGE_SIZE))
     4224                            &&  ASMMemIsZeroPage(pvPage))
    42254225                        {
    42264226                            cAllocZero++;
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