From ae3a00cd1fd8a0500a9d8be96c9b176a0326b133 Mon Sep 17 00:00:00 2001 From: David Hashe Date: Wed, 18 Apr 2018 16:40:28 -0400 Subject: 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 Maintainer: Brandon Potter Tested-by: kokoro --- configs/common/FileSystemConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/common') 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' + \ -- cgit v1.2.3