diff options
author | David Hashe <david.hashe@amd.com> | 2018-04-18 16:40:28 -0400 |
---|---|---|
committer | Brandon Potter <Brandon.Potter@amd.com> | 2019-04-25 20:38:57 +0000 |
commit | ae3a00cd1fd8a0500a9d8be96c9b176a0326b133 (patch) | |
tree | 7779532d98e94308beac80806828872e56b2ff5b /configs/common | |
parent | 26e888965d08486aeed7ebb3ef934ceb1a38cd6f (diff) | |
download | gem5-ae3a00cd1fd8a0500a9d8be96c9b176a0326b133.tar.xz |
configs: faux-filesystem fix w/ ruby in se mode
These changes are needed so that the config scripts
can report cache hierarchy information to the faux
filesystem.
This is useful for the ROCm runtime when it reads
psuedofiles from the host filesytem from "/proc".
Change-Id: Iad3e6c088d47c9b93979f584de748367eae8259b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/12121
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/FileSystemConfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/FileSystemConfig.py b/configs/common/FileSystemConfig.py index 561cfe659..8a6da52e6 100644 --- a/configs/common/FileSystemConfig.py +++ b/configs/common/FileSystemConfig.py @@ -61,7 +61,7 @@ def config_filesystem(options): mkdir(procdir) for i in xrange(options.num_cpus): - one_cpu = 'processor : 0\n' + \ + one_cpu = 'processor : %d\n' % (i) + \ 'vendor_id : Generic\n' + \ 'cpu family : 0\n' + \ 'model : 0\n' + \ |