19 lines
336 B
Plaintext
19 lines
336 B
Plaintext
#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__
|