Changeset 31079 in vbox
- Timestamp:
- Jul 24, 2010 5:25:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r31060 r31079 526 526 * of math stuff. 527 527 */ 528 if ( (cr0 & (X86_CR0_TS | X86_CR0_EM | X86_CR0_MP))528 if ( (cr0 & (X86_CR0_TS | X86_CR0_EM | X86_CR0_MP)) 529 529 != (pVCpu->cpum.s.Guest.cr0 & (X86_CR0_TS | X86_CR0_EM | X86_CR0_MP))) 530 530 { … … 561 561 */ 562 562 uint32_t HyperCR0 = ASMGetCR0(); 563 AssertMsg( (HyperCR0 & (X86_CR0_TS | X86_CR0_EM | X86_CR0_MP))563 AssertMsg( (HyperCR0 & (X86_CR0_TS | X86_CR0_EM | X86_CR0_MP)) 564 564 == (pVCpu->cpum.s.Guest.cr0 & (X86_CR0_TS | X86_CR0_EM | X86_CR0_MP)), 565 565 ("%#x %#x\n", HyperCR0, pVCpu->cpum.s.Guest.cr0)); … … 576 576 * The caller is responsible for calling PGM when appropriate. 577 577 */ 578 if ( (cr0 & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE))578 if ( (cr0 & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE)) 579 579 != (pVCpu->cpum.s.Guest.cr0 & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE))) 580 580 pVCpu->cpum.s.fChanged |= CPUM_CHANGED_GLOBAL_TLB_FLUSH;
Note:
See TracChangeset
for help on using the changeset viewer.