- oops, I used BX_CPU_THIS_PTR outside of the cpu object. Changed the
reference to BX_CPU(0) which is legal even when BX_USE_CPU_SMF is off.
This commit is contained in:
parent
c81a354ebf
commit
e352d0b871
@ -1,10 +1,10 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: siminterface.cc,v 1.43 2002-08-01 07:34:59 vruppert Exp $
|
||||
// $Id: siminterface.cc,v 1.44 2002-08-25 05:21:16 bdenney Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
/*
|
||||
* gui/siminterface.cc
|
||||
* $Id: siminterface.cc,v 1.43 2002-08-01 07:34:59 vruppert Exp $
|
||||
* $Id: siminterface.cc,v 1.44 2002-08-25 05:21:16 bdenney Exp $
|
||||
*
|
||||
* Defines the actual link between bx_simulator_interface_c methods
|
||||
* and the simulator. This file includes bochs.h because it needs
|
||||
@ -245,8 +245,8 @@ bx_real_sim_c::quit_sim (int code) {
|
||||
// in wxWindows, the whole simulator is running in a separate thread.
|
||||
// our only job is to end the thread as soon as possible, NOT to shut
|
||||
// down the whole application with an exit.
|
||||
BX_CPU_THIS_PTR async_event = 1;
|
||||
BX_CPU_THIS_PTR kill_bochs_request = 1;
|
||||
BX_CPU(0)->async_event = 1;
|
||||
BX_CPU(0)->kill_bochs_request = 1;
|
||||
// the cpu loop will exit very soon after this condition is set.
|
||||
#else
|
||||
// just a single thread. Use exit() to stop the application.
|
||||
|
Loading…
x
Reference in New Issue
Block a user