VirtualBox

Changeset 8901

Show
Ignore:
Timestamp:
05/16/08 17:28:10 (5 months ago)
Author:
vboxsync
Message:

Always enable caching

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r8900 r8901  
    581581            val |= X86_CR0_NE;  /* always turn on the native mechanism to report FPU errors (old style uses interrupts) */ 
    582582        } 
    583         if (!(val & X86_CR0_CD)) 
    584             val &= ~X86_CR0_NW;     /* Illegal when cache is turned on. */ 
     583        /* Always enable caching. */ 
     584        val &= ~(X86_CR0_CD|X86_CR0_NW); 
    585585 
    586586        val |= X86_CR0_PG;          /* Paging is always enabled; even when the guest is running in real mode or PE without paging. */ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy