small fixes
This commit is contained in:
parent
e34262bc7d
commit
d26660dac1
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: init.cc,v 1.216 2009-07-28 14:52:19 sshwarts Exp $
|
||||
// $Id: init.cc,v 1.217 2009-08-19 09:59:30 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -853,7 +853,7 @@ void BX_CPU_C::reset(unsigned source)
|
||||
// DR0 - DR7 (Debug Registers)
|
||||
#if BX_CPU_LEVEL >= 3
|
||||
for (n=0; n<4; n++)
|
||||
BX_CPU_THIS_PTR dr[n] = 0; /* undefined */
|
||||
BX_CPU_THIS_PTR dr[n] = 0;
|
||||
#endif
|
||||
|
||||
BX_CPU_THIS_PTR dr7 = 0x00000400;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: proc_ctrl.cc,v 1.302 2009-08-15 15:36:35 sshwarts Exp $
|
||||
// $Id: proc_ctrl.cc,v 1.303 2009-08-19 09:59:30 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -245,6 +245,10 @@ void BX_CPP_AttrRegparmN(1) BX_CPU_C::CLFLUSH(bxInstruction_c *i)
|
||||
|
||||
BX_INSTR_CLFLUSH(BX_CPU_ID, laddr, paddr);
|
||||
|
||||
#if BX_X86_DEBUGGER
|
||||
hwbreakpoint_match(laddr, 1, BX_READ);
|
||||
#endif
|
||||
|
||||
#else
|
||||
BX_INFO(("CLFLUSH: not supported, enable with SSE2"));
|
||||
exception(BX_UD_EXCEPTION, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user