gem5: initparam

This commit is contained in:
Ciro Santilli
2018-09-11 14:14:14 +01:00
parent 7de5280c16
commit 5c594c3634

View File

@@ -8636,6 +8636,25 @@ m5 readfile
Outcome: date shows on guest.
===== m5 initparam
Ermm, just another <<m5-readfile>> that only takes integers and only from CLI options? Is this software so redundant?
Host:
....
./run --gem5 --gem5-restore 1 -- --initparam 13
./run --gem5 --gem5-restore 1 -- --initparam 42
....
Guest:
....
m5 initparm
....
Outputs the given paramter.
===== m5 execfile
Trivial combination of `m5 readfile` + execute the script.