diff options
author | Andrew Bardsley <Andrew.Bardsley@arm.com> | 2014-09-20 17:17:42 -0400 |
---|---|---|
committer | Andrew Bardsley <Andrew.Bardsley@arm.com> | 2014-09-20 17:17:42 -0400 |
commit | 7329c0e20ba2c78f57dd53e90246ccbe3efa158d (patch) | |
tree | 06dbea7c6630c57b1884131316b9b69204345c16 /configs/dram | |
parent | 41fc8a573ea61b2463606a0714a9e563494da329 (diff) | |
download | gem5-7329c0e20ba2c78f57dd53e90246ccbe3efa158d.tar.xz |
config: Cleanup .json config file generation
This patch 'completes' .json config files generation by adding in the
SimObject references and String-valued parameters not currently
printed.
TickParamValues are also changed to print in the same tick-value
format as in .ini files.
This allows .json files to describe a system as fully as the .ini files
currently do.
This patch adds a new function config_value (which mirrors ini_str) to
each ParamValue and to SimObject. This function can then be explicitly
changed to give different .json and .ini printing behaviour rather than
being written in terms of ini_str.
Diffstat (limited to 'configs/dram')
0 files changed, 0 insertions, 0 deletions