mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Print kernel args as late as possible before jumping into kernel.
This commit is contained in:
parent
1736d28c44
commit
7beaf3ae9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247200
|
@ -82,9 +82,9 @@ __elfN(uboot_exec)(struct preloaded_file *fp)
|
|||
|
||||
entry = uboot_vm_translate(e->e_entry);
|
||||
printf("Kernel entry at 0x%x...\n", (unsigned)entry);
|
||||
printf("Kernel args: %s\n", fp->f_args);
|
||||
|
||||
dev_cleanup();
|
||||
printf("Kernel args: %s\n", fp->f_args);
|
||||
|
||||
(*entry)((void *)mdp);
|
||||
panic("exec returned");
|
||||
|
|
Loading…
Reference in a new issue