run-gem5-se

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-22 00:00:01 +00:00
parent 65acd6b36f
commit b6ccceb344
2 changed files with 19 additions and 6 deletions

13
run-gem5-se Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
import common
parser = common.get_argparse(
default_args={'gem5':True},
argparse_args={'description':'Run executable in gem5 se.py syscall emulation mode'}
)
parser.add_argument(
'executable',
)
args = common.setup(parser)
common.run_cmd([common.executable, common.gem5_se_file, '-c', args.executable])