mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
gem5 kernel command line arguments
This commit is contained in:
3
rungem5
3
rungem5
@@ -19,7 +19,7 @@ gem5/configs/example/fs.py \
|
||||
--kernel=\"${outdir}/build/linux-custom/vmlinux\" \
|
||||
--root-device='/dev/sda' \
|
||||
"
|
||||
elif echo "$arch" | grep -Eq '^arm-'; then
|
||||
elif echo "$arch" | grep -Eq '^arm(-|$)'; then
|
||||
cmd="\
|
||||
M5_PATH=\"$(pwd)/gem5-system\" \
|
||||
./gem5/build/ARM/gem5.opt \
|
||||
@@ -31,5 +31,6 @@ gem5/configs/example/fs.py \
|
||||
--root-device='/dev/sda' \
|
||||
"
|
||||
fi
|
||||
cmd="$cmd \"\$@\""
|
||||
echo "$cmd"
|
||||
eval "$cmd"
|
||||
|
||||
Reference in New Issue
Block a user