mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 13:04:27 +01:00
gem5: initparam
This commit is contained in:
19
README.adoc
19
README.adoc
@@ -8636,6 +8636,25 @@ m5 readfile
|
|||||||
|
|
||||||
Outcome: date shows on guest.
|
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
|
===== m5 execfile
|
||||||
|
|
||||||
Trivial combination of `m5 readfile` + execute the script.
|
Trivial combination of `m5 readfile` + execute the script.
|
||||||
|
|||||||
Reference in New Issue
Block a user