VirtualBox

Changeset 26673 in vbox


Ignore:
Timestamp:
Feb 22, 2010 9:26:43 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57890
Message:

faster

File:
1 edited

Legend:

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

    r26649 r26673  
    11221122                level = 2;
    11231123                type = 3;
    1124                 sharing = cores; /* our L2 cache is modelled as shared between all cores */ 
     1124                sharing = cores; /* our L2 cache is modelled as shared between all cores */
    11251125                linesize = 64;
    11261126                associativity = 24;
     
    17211721{
    17221722    /* PAE or AMD64 implies support for big pages regardless of CR4.PSE */
    1723     if (pVCpu->cpum.s.Guest.cr4 & X86_CR4_PAE)
    1724         return true;
    1725 
    1726     return !!(pVCpu->cpum.s.Guest.cr4 & X86_CR4_PSE);
     1723    return !!(pVCpu->cpum.s.Guest.cr4 & (X86_CR4_PSE | X86_CR4_PAE));
    17271724}
    17281725
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