Files
linux-kernel-module-cheat/gem5-shell
Ciro Santilli 六四事件 法轮功 5e20ba833b build-linux and build-gem5 seem to work
2018-12-09 00:00:00 +00:00

17 lines
349 B
Python
Executable File

#!/usr/bin/env python3
import sys
import common
parser = common.get_argparse(
default_args={'gem5':True},
argparse_args={'description':'Connect a terminal to a running gem5 instance'}
)
args = common.setup(parser)
sys.exit(self.sh.run_cmd([
kwargs['gem5_m5term'], LF,
'localhost', LF,
str(kwargs['gem5_telnet_port']), LF,
]))