configs: Use proper keywordargs for RedirectPath in apu_se
RedirectPath uses app_path and host_paths instead of src and dests. This patch fixes that in apu_se. The patch also changes the formatting for those lines, as simply replacing dests with host_paths put the lines over the 80 char limit. Change-Id: If7e4c41f2f52bc3d5aa26465c786294f9b68f8d3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32655 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -614,12 +614,15 @@ else:
|
||||
|
||||
########################## Start simulation ########################
|
||||
|
||||
redirect_paths = [RedirectPath(src = "/proc",
|
||||
dests = ["%s/fs/proc" % m5.options.outdir]),
|
||||
RedirectPath(src = "/sys",
|
||||
dests = ["%s/fs/sys" % m5.options.outdir]),
|
||||
RedirectPath(src = "/tmp",
|
||||
dests = ["%s/fs/tmp" % m5.options.outdir])]
|
||||
redirect_paths = [RedirectPath(app_path = "/proc",
|
||||
host_paths =
|
||||
["%s/fs/proc" % m5.options.outdir]),
|
||||
RedirectPath(app_path = "/sys",
|
||||
host_paths =
|
||||
["%s/fs/sys" % m5.options.outdir]),
|
||||
RedirectPath(app_path = "/tmp",
|
||||
host_paths =
|
||||
["%s/fs/tmp" % m5.options.outdir])]
|
||||
|
||||
system.redirect_paths = redirect_paths
|
||||
|
||||
|
||||
Reference in New Issue
Block a user