systemc: Stop passing arguments to sc_main.

These arguments were originally just to make sure arguments could be
successfully passed to sc_main, but serve no intrinsic purpose. There
are some tests which can accept command line arguments to customize
how they run, and having nonsense arguments confuses them and makes
them behave incorrectly.

Change-Id: Ib328edb12e01a97dca778bbf45b10e91dd8c07a6
Reviewed-on: https://gem5-review.googlesource.com/c/13317
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-10-06 16:44:32 -07:00
parent 82dd3c1d61
commit 7a2ace7c5d

View File

@@ -47,7 +47,7 @@ args = parser.parse_args()
if args.working_dir:
os.chdir(args.working_dir)
kernel.sc_main("Hello", "World");
kernel.sc_main();
m5.instantiate(None)