Source-Changes-HG archive

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

[src/trunk]: src/sys/stand/efiboot Enable the twiddle spinner when loading th...



details:   https://anonhg.NetBSD.org/src/rev/b15f73b2943a
branches:  trunk
changeset: 984065:b15f73b2943a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jun 20 19:07:39 2021 +0000

description:
Enable the twiddle spinner when loading the kernel, ramdisk images, and
modules.

diffstat:

 sys/stand/efiboot/exec.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 949a0416de62 -r b15f73b2943a sys/stand/efiboot/exec.c
--- a/sys/stand/efiboot/exec.c  Sun Jun 20 19:04:50 2021 +0000
+++ b/sys/stand/efiboot/exec.c  Sun Jun 20 19:07:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.21 2021/05/21 21:53:15 jmcneill Exp $ */
+/* $NetBSD: exec.c,v 1.22 2021/06/20 19:07:39 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 Jason R. Thorpe
@@ -246,6 +246,8 @@
        EFI_STATUS status;
        int fd, ohowto;
 
+       twiddle_toggle = 0;
+
        load_file(get_initrd_path(), 0, false, &initrd_addr, &initrd_size);
        load_file(get_dtb_path(), 0, false, &dtb_addr, &dtb_size);
        generate_efirng();



Home | Main Index | Thread Index | Old Index