put bx_guard under #if/#endif BX_DEBUGGER
This commit is contained in:
parent
77ae7958f8
commit
748ccdef95
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: cpu.cc,v 1.26 2002-04-01 04:02:02 instinc Exp $
|
||||
// $Id: cpu.cc,v 1.27 2002-04-01 13:14:37 instinc Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -441,7 +441,11 @@ handle_async_event:
|
||||
BX_CPU_THIS_PTR inhibit_mask = 0; // clear inhibits for after resume
|
||||
// for one processor, pass the time as quickly as possible until
|
||||
// an interrupt wakes up the CPU.
|
||||
#if BX_DEBUGGER
|
||||
while (bx_guard.interrupt_requested != 1) {
|
||||
#else
|
||||
while (1) {
|
||||
#endif
|
||||
if (BX_CPU_THIS_PTR INTR && BX_CPU_THIS_PTR eflags.if_) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user