mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
userland: path properties getting nice!
This commit is contained in:
27
run
27
run
@@ -29,11 +29,15 @@ https://superuser.com/questions/1373226/how-to-redirect-qemu-serial-output-to-bo
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'-c', '--cpus', default=1, type=int,
|
||||
'-c',
|
||||
'--cpus',
|
||||
default=1,
|
||||
type=int,
|
||||
help='Number of guest CPUs to emulate. Default: %(default)s'
|
||||
)
|
||||
self.add_argument(
|
||||
'--ctrl-c-host', default=False,
|
||||
'--ctrl-c-host',
|
||||
default=False,
|
||||
help='''\
|
||||
Ctrl +C kills the QEMU simulator instead of being passed to the guest.
|
||||
'''
|
||||
@@ -48,7 +52,8 @@ For --emulator native, this debugs the target program.
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'--debug-vm-args', default='',
|
||||
'--debug-vm-args',
|
||||
default='',
|
||||
help='Pass arguments to GDB. Implies --debug-vm.'
|
||||
)
|
||||
self.add_argument(
|
||||
@@ -59,7 +64,8 @@ which is what you usually want.
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'-E', '--eval',
|
||||
'-E',
|
||||
'--eval',
|
||||
help='''\
|
||||
Replace the normal init with a minimal init that just evals the given string.
|
||||
See: https://github.com/cirosantilli/linux-kernel-module-cheat#replace-init
|
||||
@@ -68,7 +74,8 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc_home
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'-F', '--eval-after',
|
||||
'-F',
|
||||
'--eval-after',
|
||||
help='''\
|
||||
Pass a base64 encoded command line parameter that gets evalled at the end of
|
||||
the normal init.
|
||||
@@ -76,7 +83,9 @@ See: https://github.com/cirosantilli/linux-kernel-module-cheat#init-busybox
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'-G', '--gem5-exe-args', default='',
|
||||
'-G',
|
||||
'--gem5-exe-args',
|
||||
default='',
|
||||
help='''\
|
||||
Pass extra options to the gem5 executable.
|
||||
Do not confuse with the arguments passed to config scripts,
|
||||
@@ -93,11 +102,13 @@ gem.op5 --debug-flags=Exec fs.py --cpu-type=HPI --caches
|
||||
help='Which gem5 script to use'
|
||||
)
|
||||
self.add_argument(
|
||||
'--gem5-readfile', default='',
|
||||
'--gem5-readfile',
|
||||
default='',
|
||||
help='Set the contents of m5 readfile to this string.'
|
||||
)
|
||||
self.add_argument(
|
||||
'--gem5-restore', type=int,
|
||||
'--gem5-restore',
|
||||
type=int,
|
||||
help='''\
|
||||
Restore the nth most recently taken gem5 checkpoint according to directory
|
||||
timestamps.
|
||||
|
||||
Reference in New Issue
Block a user