#ifndef __FAIL_BOCHS_INIT_AH__
  #define __FAIL_BOCHS_INIT_AH__

#include "config/VariantConfig.hpp"

#ifdef BUILD_BOCHS

#include "../SALInst.hpp"

aspect FailBochsInit {
	advice call("int bxmain()") : before ()
	{
		fail::simulator.startup(bx_startup_flags.argc, bx_startup_flags.argv);
	}
};

#endif
#endif // __FAIL_BOCHS_INIT_AH__
