core/util: Added CommandLine interface (for bochs)
This commit is contained in:
@ -6,10 +6,12 @@
|
||||
#ifdef BUILD_BOCHS
|
||||
|
||||
#include "../SALInst.hpp"
|
||||
#include "util/CommandLine.hpp"
|
||||
|
||||
aspect FailBochsInit {
|
||||
advice call("int bxmain()") : before ()
|
||||
{
|
||||
fail::CommandLine::Inst().collect_args(bx_startup_flags.argc, bx_startup_flags.argv);
|
||||
fail::simulator.startup();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user