mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
gem5: m5 execfile
This commit is contained in:
19
README.adoc
19
README.adoc
@@ -3394,7 +3394,7 @@ https://stackoverflow.com/questions/49516399/how-to-use-m5-readfile-and-m5-execf
|
|||||||
Host:
|
Host:
|
||||||
|
|
||||||
....
|
....
|
||||||
date >readfile.gitignore
|
date > readfile.gitignore
|
||||||
....
|
....
|
||||||
|
|
||||||
Guest:
|
Guest:
|
||||||
@@ -3403,6 +3403,23 @@ Guest:
|
|||||||
m5 readfile
|
m5 readfile
|
||||||
....
|
....
|
||||||
|
|
||||||
|
==== m5 execfile
|
||||||
|
|
||||||
|
Host:
|
||||||
|
|
||||||
|
....
|
||||||
|
printf '#!/bin/sh
|
||||||
|
echo asdf' > readfile.gitignore
|
||||||
|
....
|
||||||
|
|
||||||
|
Guest:
|
||||||
|
|
||||||
|
....
|
||||||
|
touch /tmp/execfile
|
||||||
|
chmoe +x /tmp/execfile
|
||||||
|
m5 execfile
|
||||||
|
....
|
||||||
|
|
||||||
=== gem5 limitations
|
=== gem5 limitations
|
||||||
|
|
||||||
* networking not working. We currently just disable it from `inittab` by default to prevent waiting at startup
|
* networking not working. We currently just disable it from `inittab` by default to prevent waiting at startup
|
||||||
|
|||||||
Submodule parsec-benchmark/parsec-benchmark updated: d5fa6dc768...580f134dc6
Reference in New Issue
Block a user