bugfix + update changes

This commit is contained in:
Stanislav Shwartsman 2011-09-13 19:38:09 +00:00
parent f4dbaf1cd8
commit d5fcfabb38
2 changed files with 6 additions and 1 deletions

View File

@ -132,6 +132,8 @@ Bochs repository moved to the SVN version control !
[3190995] add eth backend based on Slirp by Heikki Lindholm
- these S.F. bugs were closed/fixed
[3392760] Bochs does not compile with linux3.0
[3403746] segfault crash with sparse disk images
[3062054] Problems with BIOS pointing device services (int 15h)
[3277639] incompatible colours in palette
[1788739] Abort on large memory setting

View File

@ -2069,7 +2069,10 @@ void BX_CPU_C::VMexitLoadHostState(void)
BX_CPU_THIS_PTR inhibit_mask = 0;
BX_CPU_THIS_PTR debug_trap = 0;
setEFlags(0x2); // Bit1 is always set
// set flags directly, avoid setEFlags side effects
BX_CPU_THIS_PTR eflags = 0x2; // Bit1 is always set
// Update lazy flags state
setEFlagsOSZAPC(0);
#if BX_SUPPORT_MONITOR_MWAIT
BX_CPU_THIS_PTR monitor.reset_monitor();