gem5 m5.objects module

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-05-07 01:00:00 +00:00
parent f0e6ee9fb2
commit 252dd80500
2 changed files with 153 additions and 1 deletions

2
run
View File

@@ -518,7 +518,7 @@ Extra options to append at the end of the emulator command line.
gem5_exe_args = self.sh.shlex_split(self.env['gem5_exe_args'])
if do_trace:
gem5_exe_args.extend(['--debug-flags', trace_type, LF])
# https://stackoverflow.com/questions/52312070/how-to-modify-a-file-under-src-python-and-run-it-without-rebuilding-in-gem5/52312071#52312071
# https://cirosantilli.com/linux-kernel-module-cheat#m5-override-py-source
extra_env['M5_OVERRIDE_PY_SOURCE'] = 'true'
if self.env['trace_stdout']:
debug_file = 'cout'