Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/efiboot efiboot (x86): add ASCII art



details:   https://anonhg.NetBSD.org/src/rev/f9a1fb13af95
branches:  trunk
changeset: 984132:f9a1fb13af95
user:      nia <nia%NetBSD.org@localhost>
date:      Tue Jun 22 19:53:58 2021 +0000

description:
efiboot (x86): add ASCII art

diffstat:

 sys/arch/i386/stand/efiboot/boot.c |  17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 2e29efb3d9ed -r f9a1fb13af95 sys/arch/i386/stand/efiboot/boot.c
--- a/sys/arch/i386/stand/efiboot/boot.c        Tue Jun 22 13:02:52 2021 +0000
+++ b/sys/arch/i386/stand/efiboot/boot.c        Tue Jun 22 19:53:58 2021 +0000
@@ -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 <nonaka%netbsd.org@localhost>
@@ -287,8 +287,19 @@
                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



Home | Main Index | Thread Index | Old Index