From 5c594c3634c8df743c59f8013704fab6eaece8bf Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 11 Sep 2018 14:14:14 +0100 Subject: [PATCH] gem5: initparam --- README.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.adoc b/README.adoc index 6d930f8..9a378e7 100644 --- a/README.adoc +++ b/README.adoc @@ -8636,6 +8636,25 @@ m5 readfile Outcome: date shows on guest. +===== m5 initparam + +Ermm, just another <> 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.