configs: Remove remnants of /dev/shm mapping from apu_se

This patch removes a redirect for /dev/shm. It also removes
a function call that cleaned up the /dev/shm redirect

Change-Id: Iec2598c715223d079bc5dfd2ea52859945706cfc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32354
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Kyle Roarty
2020-08-06 18:47:17 -05:00
parent b415e57aeb
commit e9ff182b31

View File

@@ -622,10 +622,7 @@ redirect_paths = [RedirectPath(src = "/proc",
RedirectPath(src = "/sys", RedirectPath(src = "/sys",
dests = ["%s/fs/sys" % m5.options.outdir]), dests = ["%s/fs/sys" % m5.options.outdir]),
RedirectPath(src = "/tmp", RedirectPath(src = "/tmp",
dests = ["%s/fs/tmp" % m5.options.outdir]), dests = ["%s/fs/tmp" % m5.options.outdir])]
RedirectPath(src = "/dev/shm",
dests = ["/dev/shm/%s/gem5_%s" %
(getpass.getuser(), os.getpid())])]
system.redirect_paths = redirect_paths system.redirect_paths = redirect_paths
@@ -681,6 +678,4 @@ elif options.fast_forward_pseudo_op:
print("Ticks:", m5.curTick()) print("Ticks:", m5.curTick())
print('Exiting because ', exit_event.getCause()) print('Exiting because ', exit_event.getCause())
FileSystemConfig.cleanup_filesystem(options)
sys.exit(exit_event.getCode()) sys.exit(exit_event.getCode())