Bochs aspects: check for BUILD_BOCHS everywhere
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1610 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
#ifndef __DISABLE_ADD_REMOVE_LOGFN_AH__
|
||||
#define __DISABLE_ADD_REMOVE_LOGFN_AH__
|
||||
|
||||
#include "config/VariantConfig.hpp"
|
||||
|
||||
#ifdef BUILD_BOCHS
|
||||
|
||||
/* Hack to prevent Bochs' logfunctions list (bochs.h) to overflow if the
|
||||
* experiment restores simulator state more than ~1000 times.
|
||||
*
|
||||
@ -16,4 +20,5 @@ aspect DisableLogFunctions {
|
||||
advice execution (add_remove_logfn()) : around () { }
|
||||
};
|
||||
|
||||
#endif // BUILD_BOCHS
|
||||
#endif // __DISABLE_ADD_REMOVE_LOGFN_AH__
|
||||
|
||||
Reference in New Issue
Block a user