oops, this break max_instr_count feature

This commit is contained in:
Stanislav Shwartsman 2009-03-26 10:24:10 +00:00
parent 38e77f0721
commit fcb51dc168
2 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cpu.cc,v 1.281 2009-03-26 09:44:23 sshwarts Exp $
// $Id: cpu.cc,v 1.282 2009-03-26 10:24:08 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -115,11 +115,6 @@ void BX_CPU_C::cpu_loop(Bit32u max_instr_count)
BX_CPU_THIS_PTR EXT = 0;
BX_CPU_THIS_PTR errorno = 0;
cpu_loop_core(max_instr_count);
}
void BX_CPU_C::cpu_loop_core(Bit32u max_instr_count)
{
while (1) {
// check on events which occurred for previous instructions (traps)

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cpu.h,v 1.587 2009-03-26 09:28:49 sshwarts Exp $
// $Id: cpu.h,v 1.588 2009-03-26 10:24:10 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -2761,7 +2761,6 @@ public: // for now...
// now for some ancillary functions...
BX_SMF void cpu_loop(Bit32u max_instr_count);
BX_SMF void cpu_loop_core(Bit32u max_instr_count);
BX_SMF unsigned handleAsyncEvent(void);
BX_SMF unsigned fetchDecode32(const Bit8u *fetchPtr, bxInstruction_c *i, unsigned remainingInPage) BX_CPP_AttrRegparmN(3);