Module Name: src
Committed By: nia
Date: Tue Jun 22 19:53:58 UTC 2021
Modified Files:
src/sys/arch/i386/stand/efiboot: boot.c
Log Message:
efiboot (x86): add ASCII art
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/i386/stand/efiboot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/stand/efiboot/boot.c
diff -u src/sys/arch/i386/stand/efiboot/boot.c:1.18 src/sys/arch/i386/stand/efiboot/boot.c:1.19
--- src/sys/arch/i386/stand/efiboot/boot.c:1.18 Sun May 30 05:59:22 2021
+++ src/sys/arch/i386/stand/efiboot/boot.c Tue Jun 22 19:53:58 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.18 2021/05/30 05:59:22 mlelstv Exp $ */
+/* $NetBSD: boot.c,v 1.19 2021/06/22 19:53:58 nia Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <[email protected]>
@@ -287,8 +287,19 @@ print_banner(void)
for (n = 0; n < BOOTCFG_MAXBANNER && bootcfg_info.banner[n];
n++)
printf("%s\n", bootcfg_info.banner[n]);
- } else
- command_version("short");
+ } else {
+ printf("\n"
+ " \\-__,------,___.\n"
+ " \\ __,---` %s (from NetBSD %s)\n"
+ " \\ `---,_. Revision %s\n"
+ " \\-,_____,.---` Memory: %d/%d k\n"
+ " \\\n"
+ " \\\n"
+ " \\\n",
+ bootprog_name, bootprog_kernrev,
+ bootprog_rev,
+ getbasemem(), getextmem());
+ }
}
void