Module Name: src
Committed By: jmcneill
Date: Sun Jun 20 19:07:39 UTC 2021
Modified Files:
src/sys/stand/efiboot: exec.c
Log Message:
Enable the twiddle spinner when loading the kernel, ramdisk images, and
modules.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/stand/efiboot/exec.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/stand/efiboot/exec.c
diff -u src/sys/stand/efiboot/exec.c:1.21 src/sys/stand/efiboot/exec.c:1.22
--- src/sys/stand/efiboot/exec.c:1.21 Fri May 21 21:53:15 2021
+++ src/sys/stand/efiboot/exec.c Sun Jun 20 19:07:39 2021
@@ -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 @@ exec_netbsd(const char *fname, const cha
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();