devmem on userland memory...!!!!!!

This commit is contained in:
Ciro Santilli
2017-07-16 07:51:04 +01:00
parent 1428e7a3b5
commit 058c759ec9
3 changed files with 34 additions and 4 deletions

View File

@@ -8,7 +8,8 @@ debug=false
debug_qemu=''
kgdb=false
nographic=false
extra_append=''
# norandmaps: reduce randomization to make our lives easier.
extra_append='norandmaps'
extra_flags=''
while getopts a:de:knqt: OPT; do
case "$OPT" in
@@ -61,7 +62,7 @@ case "$arch" in
fi
cmd="$qemu_common \
-M pc \
-append 'root=/dev/vda $extra_append' \
-append 'root=/dev/vda nopat $extra_append' \
-device edu \
-device lkmc_pci_min \
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \