From 5adc043d19aec5513ba99003f16ffeb84096a17f Mon Sep 17 00:00:00 2001 From: adrian Date: Thu, 31 May 2012 11:09:33 +0000 Subject: [PATCH] Missing DANCEOS_RESTORE-#define added. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1286 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- core/SAL/bochs/BochsController.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/core/SAL/bochs/BochsController.cc b/core/SAL/bochs/BochsController.cc index f72de3cd..ce650fba 100644 --- a/core/SAL/bochs/BochsController.cc +++ b/core/SAL/bochs/BochsController.cc @@ -9,12 +9,15 @@ namespace sal { +#ifdef DANCEOS_RESTORE bx_bool restore_bochs_request = false; -bx_bool save_bochs_request = false; -bx_bool reboot_bochs_request = false; +bx_bool save_bochs_request = false; +string sr_path = ""; +#endif + +bx_bool reboot_bochs_request = false; bx_bool interrupt_injection_request = false; -int interrupt_to_fire = -1; -std::string sr_path = ""; +int interrupt_to_fire = -1; BochsController::BochsController() : SimulatorController(new BochsRegisterManager(), new BochsMemoryManager())