mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +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:
|
||||
|
||||
....
|
||||
date >readfile.gitignore
|
||||
date > readfile.gitignore
|
||||
....
|
||||
|
||||
Guest:
|
||||
@@ -3403,6 +3403,23 @@ Guest:
|
||||
m5 readfile
|
||||
....
|
||||
|
||||
==== m5 execfile
|
||||
|
||||
Host:
|
||||
|
||||
....
|
||||
printf '#!/bin/sh
|
||||
echo asdf' > readfile.gitignore
|
||||
....
|
||||
|
||||
Guest:
|
||||
|
||||
....
|
||||
touch /tmp/execfile
|
||||
chmoe +x /tmp/execfile
|
||||
m5 execfile
|
||||
....
|
||||
|
||||
=== gem5 limitations
|
||||
|
||||
* networking not working. We currently just disable it from `inittab` by default to prevent waiting at startup
|
||||
|
||||
Reference in New Issue
Block a user