summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2012-11-25 18:22:53 +0000
committerkientzle <kientzle@FreeBSD.org>2012-11-25 18:22:53 +0000
commitf9c87e23be86a125450ef70018f950e3ac702282 (patch)
tree7dd21415ae14d08da12cfe818e6cee5be9664403 /sys/boot/uboot
parent4c80c5ff2f77168ed92ba8b0535e07fad9e2a68a (diff)
downloadFreeBSD-src-f9c87e23be86a125450ef70018f950e3ac702282.zip
FreeBSD-src-f9c87e23be86a125450ef70018f950e3ac702282.tar.gz
Print kernel args when booting the kernel.
Diffstat (limited to 'sys/boot/uboot')
-rw-r--r--sys/boot/uboot/lib/elf_freebsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/uboot/lib/elf_freebsd.c b/sys/boot/uboot/lib/elf_freebsd.c
index bbde80c..81407708 100644
--- a/sys/boot/uboot/lib/elf_freebsd.c
+++ b/sys/boot/uboot/lib/elf_freebsd.c
@@ -82,6 +82,7 @@ __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();
OpenPOWER on IntegriCloud