summaryrefslogtreecommitdiff
path: root/tests/configs/switcheroo.py
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-02-15 17:40:08 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-02-15 17:40:08 -0500
commite9f66dceac5ce2665001f9f74222964ef0aef74b (patch)
tree0c7ac355e9cfe1772676a76f2db8a8a61a59ec95 /tests/configs/switcheroo.py
parent7f1263f1446b789e9f88685ae763ba575e81e454 (diff)
downloadgem5-e9f66dceac5ce2665001f9f74222964ef0aef74b.tar.xz
config: Cleanup CPU configuration
The CPUs supported by the configuration scripts used to be hard-coded. This was not ideal for several reasons. For example, the configuration scripts depend on all CPU models even though only a subset might have been compiled. This changeset adds a new module to the configuration scripts that automatically discovers the available CPU models from the compiled SimObjects. As a nice bonus, the use of introspection allows us to automatically generate a list of available CPU models suitable for printing. This list is augmented with the Python doc string from the underlying class if available.
Diffstat (limited to 'tests/configs/switcheroo.py')
0 files changed, 0 insertions, 0 deletions