mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
qemu-baremetal-cli-args
QEMU part done https://github.com/cirosantilli/linux-kernel-module-cheat/issues/67
This commit is contained in:
@@ -27,8 +27,10 @@ _start:
|
||||
adr x0, lkmc_baremetal_on_exit_callback
|
||||
bl on_exit
|
||||
|
||||
/* Run main. */
|
||||
mov x0, 0
|
||||
/* Setup CLI arguments and run main. */
|
||||
ldr x0, =lkmc_argc
|
||||
ldr x0, [x0]
|
||||
ldr x1, =lkmc_argv
|
||||
bl main
|
||||
|
||||
/* If main returns, exit. */
|
||||
|
||||
Reference in New Issue
Block a user